Boost logo

Boost :

From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2002-12-04 14:21:07


David Abrahams <dave_at_[hidden]> writes:

| Gabriel Dos Reis <gdr_at_[hidden]> writes:
|
| > Hmm, I have a couple of questions answers to which will help me
| > get your point.
| >
| > 1) Why can't you do that with reinterpret_cast?
|
| You can, but the results are non-portable

No more non-portable than with dangerous_cast<>.

| > 2) Why is that supposed to be better than reinterpret_cast<>?
|
| The results are portable

Please, walk me through the details.

-- Gaby


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