
29 May
2009
29 May
'09
9:45 p.m.
On Thu, May 28, 2009 at 5:20 PM, Daniel James <daniel_james@fmail.co.uk> wrote:
2009/5/28 Beman Dawes <bdawes@acm.org>:
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. --Beman