Boost logo

Boost :

Subject: Re: [boost] [Config] Meaning of BOOST_NO_CXX11_HDR_INITIALIZER_LIST
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2012-03-07 14:33:49

On Mar 7, 2012, at 10:12 AM, John Maddock wrote:

>> I noticed that BOOST_NO_INITIALIZER_LISTS was replaced by
>> 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.

That's the intent, yes.
One version of MSVC shipped with a header, but no support, IIRC - but MS said that was their mistake.

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki

Boost list run by bdawes at, gregod at, cpdaniel at, john at