Boost logo

Boost-Build :

Subject: Re: [Boost-build] question regarding "requires cxx11_hdr_array" clause in Jamfile
From: John Maddock (jz.maddock_at_[hidden])
Date: 2016-12-09 13:17:29

> Turns out that this problem is showing up in the test matrix of the
> current develop branch.

Based on an inspection of the libc++ source, I've pushed a tentative fix
to develop - it looks like C++11 (and later) headers may be at least
somewhat usable in C++03 mode. The catch is that if your tests assume
that the presence of <array> indicates a fully functioning version with
all the C++11 features then your test will certainly fail. In that
situation you may need to check for initializer lists / constexpr /
noexcept etc separately.

Currently the change is restricted to <array> and <forward_list> as
these need relatively lightweight compiler support, most of the other
headers are quite tied into C++11 language features.


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at