Well thanks guys for everything. I guess I don't need boost at all in this case after all.

On Jan 2, 2008 8:25 PM, Miles Bader <miles@gnu.org> wrote:
"Robert Dailey" <rcdailey@gmail.com > writes:
> I can't really agree or disagree, as my information comes from an article I
> read a long time ago. It stated that the portable way to assign NULL to a
> pointer is to first cast it to the type of the lvalue.
>
> class foo {};
> foo* myfoo = 0;

No, that's guaranteed to work.  Either the article you read was wrong,
or you misinterpreted it.

-Miles

--
"Whatever you do will be insignificant, but it is very important that
 you do it."  Mahatma Gandhi

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users