Boost logo

Boost :

Subject: Re: [boost] [config] Deprecate/remove BOOST_NO_INITIALIZER_LISTS
From: Daniel James (daniel_james_at_[hidden])
Date: 2009-05-28 17:20:58


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.

Daniel


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