
Robert Dailey wrote:
They are unrelated types. says who??? if it's your compiler, get one that conforms to the standard
On Jan 2, 2008 4:05 PM, Felipe Magno de Almeida
mailto:felipe.m.almeida@gmail.com> wrote: On Jan 2, 2008 8:02 PM, Robert Dailey
mailto:rcdailey@gmail.com> wrote: > Hi, > > Does boost have some sort of null_ptr class that allows you to do portable > NULL comparisons? For example, the following isn't portable: > > char* foo = 0; > if( foo != 0 ) > { > } Why is this not portable?
[snip]
-- Felipe Magno de Almeida _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org mailto:Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users