Boost logo

Boost :

Subject: Re: [boost] [config] C++0X Compiler doesn't support classes with constructors in unions
From: Beman Dawes (bdawes_at_[hidden])
Date: 2011-02-23 09:18:13

On Tue, Feb 22, 2011 at 5:06 PM, Vicente Botet <vicente.botet_at_[hidden]>wrote:

> Hi,
> is there a macro that can be tested to know if a compiler doesn't support
> classes with constructors in unions?
No, and GCC 4.6 is supporting them. See

The macro might be named BOOST_NO_UNRESTRICTED_UNIONS.


Do you have an actual need for such a macro? We only want to add macros that
will be actually used by Boost libraries.

If you do have a need, would you like to try your hand at providing the
macro, test cases, docs, etc?


Boost list run by bdawes at, gregod at, cpdaniel at, john at