Subject: Re: [boost] [config] Deprecate/remove BOOST_NO_INITIALIZER_LISTS
From: Daniel James (daniel_james_at_[hidden])
Date: 2009-06-01 02:58:37
2009/5/29 Beman Dawes <bdawes_at_[hidden]>:
> 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.
Sorry, I was being dense and missed your point. I've had a look at the
Visual C++ 10 beta results and that has the situation you describe and
BOOST_NO_INITIALIZER_LISTS is required in that case.
I went ahead and added a check to config/suffix.hpp to set
BOOST_NO_INITIALIZER_LISTS if the headers aren't available:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk