$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Victor A. Wagner Jr. (vawjr_at_[hidden])
Date: 2008-01-02 19:42:19
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 
> <felipe.m.almeida_at_[hidden] <mailto:felipe.m.almeida_at_[hidden]>> wrote:
>
>     On Jan 2, 2008 8:02 PM, Robert Dailey <rcdailey_at_[hidden]
>     <mailto:rcdailey_at_[hidden]>> 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_at_[hidden] <mailto:Boost-users_at_[hidden]>
>     http://listarchives.boost.org/mailman/listinfo.cgi/boost-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://listarchives.boost.org/mailman/listinfo.cgi/boost-users