
1 Nov
2011
1 Nov
'11
4:20 p.m.
On Tue, Nov 1, 2011 at 5:13 PM, Richard Hadsell <hadsell@blueskystudios.com> wrote:
On 11/01/2011 12:00 PM, Olaf van der Spek wrote:
Actually, what is the problem? Do you use (NULL) or (0) instead of just () (for construction).
I would have to check through a lot of code, not just my own, to look for places that are initialized with 0. I would expect to see this in initializers for data members that were formerly simple pointers.
Adding a (size_t) constructor would produce ambiguity errors, but those are easy to fix by using the default constructor instead. Would that be acceptable? Olaf