Boost logo

Boost :

Subject: Re: [boost] Old style casts and Boost style guidelines
From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2008-09-15 21:01:48


Peter Dimov wrote:
>
> In this case, though, the meaning is unambiguous. (Y*)0 is - obviously
> - a null pointer "literal" of type Y*. So it's nice. :-)

It's a pitty that function-style casts are invalid here, since pointers
don't have constructors. :-)

Regards,
       Stefan

-- 
      ...ich hab' noch einen Koffer in Berlin...

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