Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-12-04 13:59:23


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

> 2) Why is that supposed to be better than reinterpret_cast<>?

The results are portable

-- 
                       David Abrahams
   dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

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