Subject: Re: [boost] [config] Deprecate/remove BOOST_NO_INITIALIZER_LISTS
From: Beman Dawes (bdawes_at_[hidden])
Date: 2009-05-29 17:45:11
On Thu, May 28, 2009 at 5:20 PM, Daniel James <daniel_james_at_[hidden]> wrote:
> 2009/5/28 Beman Dawes <bdawes_at_[hidden]>:
>> Does it matter that some standard libraries might add <initializer_list>
>> even though the compiler doesn't have support yet?
> That's already the case for g++ 4.4 when not compiling in c++0x mode.
> The contents are protected by a macro check but there's no warning or
> error. I'd hope that BOOST_NO_0X_HDR_INITIALIZER_LIST isn't defined in
> that case. The header is there but it's entirely useless.
Boost.Config for libstdcpp3 is set up to report the C++0x headers as
not being present if !defined(__GXX_EXPERIMENTAL_CXX0X__), so we
should be OK. Let me know if there are any problems.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk