$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Miles Bader (miles_at_[hidden])
Date: 2008-01-02 21:25:13
"Robert Dailey" <rcdailey_at_[hidden]> 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