Boost logo

Boost :

Subject: Re: [boost] aligned_storage in unions
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-09-22 16:01:54


On 22/09/2010 20:43, David Abrahams wrote:

> static_cast through void*, please. That has defined behavior

AFAIK, not if you don't cast back to exactly the same type that was
converted to void*.

, whereas reinterpret_cast is only implementation-defined.


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