|
Boost Users : |
From: Robert Dailey (rcdailey_at_[hidden])
Date: 2008-01-03 09:47:45
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_at_[hidden]> wrote:
> "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
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net