Boost logo

Boost :

From: Terje Slettebø (tslettebo_at_[hidden])
Date: 2002-12-04 11:02:20


>From: "Terje Slettebø" <tslettebo_at_[hidden]>

> >From: "David Abrahams" <dave_at_[hidden]>
>
> > Gabriel Dos Reis <gdr_at_[hidden]> writes:
> >
> > > Is it any different from reinterpret_cast<T*>(p) ?
> >
> > It might be, depending on your compiler. The behavior of
> > reinterpret_cast<T*> is implementation-defined.
>
> Doesn't that mean that dangerous_cast would also be
implementation-defined?

Oops, never mind. I thought you meant that the behaviour of dangerous_cast
would depend on the compiler, but I understand now that you meant
reinterpret_cast.

Terje


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk