Boost logo

Boost :

Subject: Re: [boost] [smart_ptr] scoped_array / shared_array (size_t) constructor
From: Richard Hadsell (hadsell_at_[hidden])
Date: 2011-11-01 12:13:03


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.
> This proposal does not change the footprint, does it?
Not that I know of. I just wanted the participants in the discussion to be aware of this consideration.

-- 
Dick Hadsell			203-992-6320  Fax: 203-992-6001
Reply-to:			hadsell_at_[hidden]
Blue Sky Studioshttp://www.blueskystudios.com
1 American Lane, Greenwich, CT 06831-2560
Follow Blue Sky Studios on Facebook <http://www.facebook.com/BlueSkyStudios> and Twitter <http://twitter.com/#%21/blueskystudios>

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk