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. :-)


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

Boost list run by bdawes at, gregod at, cpdaniel at, john at