
14 Sep
2008
14 Sep
'08
12:10 a.m.
Peter Dimov wrote:
I wanted to get rid of all old-style casts in my application, so I turned on -Wold-style-cast in gcc and found a whole bunch of old-style casts in boost headers.
...
../../../boost/detail/sp_convertible.hpp:48: warning: use of old-style cast
(Y*)0 is so much nicer than static_cast< Y* >( 0 )... :-/
True, but most of the stuff in boost headers is write-once. -- Jon Biggar jon@floorboard.com jon@biggar.org jonbiggar@gmail.com