Boost logo

Boost :

From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2002-12-04 13:42:30


Terje Slettebø <tslettebo_at_[hidden]> writes:

| >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.

But, Dave said "it might be, depending on your compiler" which means
it might -not-, as well, depending on the compiler.

so, you had a point :-)

-- Gaby


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