Boost logo

Boost :

Subject: Re: [boost] [Config] Meaning of BOOST_NO_CXX11_HDR_INITIALIZER_LIST
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-03-07 13:12:25


>I noticed that BOOST_NO_INITIALIZER_LISTS was replaced by
> BOOST_NO_CXX11_HDR_INITIALIZER_LIST recently.
> I have a question related to this change:
> Does BOOST_NO_CXX11_HDR_INITIALIZER_LIST imply that initializer lists
> are supported by the compiler? (I guess that the compiler support is
> checked
> in a compiler config and the existence of <initializer_list> is checked in
> a
> std lib config.)
>
> If so, shouldn't the documentation be updated?

I believe the intent of the change is that the header and the compiler
feature are unusable without each other, so only one macro is enough.

Marshall?

John.


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