Boost logo

Boost-Build :

Subject: Re: [Boost-build] question regarding "requires cxx11_hdr_array" clause in Jamfile
From: Robert Ramey (ramey_at_[hidden])
Date: 2016-12-06 15:31:34


On 12/6/16 11:22 AM, Edward Diener wrote:

>> To this end, boost/serialization/array.hpp contains the following:
>>
>> #ifndef BOOST_NO_CXX11_HDR_ARRAY
>>
>> #include <array>
>> #include <boost/serialization/nvp.hpp>
>>

> What do you mean by "the code in <array> is not included" ? Are you
> referring to your own serialization array header or are you referring to
> the C++ standard array header ?

I mean that the above #ifndef inhibits the inclusion of <array>

This shouldn't be a problem as the test itself shouldn't be run since
the jamfile includes:

      [ test-bsl-run_files test_array : A : : [ requires cxx11_hdr_array
] ] # BOOST_NO_CXX11_HDR_ARRAY

Robert Ramey


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk