Boost logo

Boost-Build :

Subject: Re: [Boost-build] adding tests conditional on compiler's C++11 support
From: John Maddock (jz.maddock_at_[hidden])
Date: 2016-11-11 13:25:55

> I'm guessing that forward_list actually exists
> and is usable in C++03 (at least to the minimum
> required by boost_no_hdr_cxx11_forward_list.ipp),
> but that this is not recognized by the macros
> in Boost.Config (which are determined strictly
> by checking predefined macros).

That would be my guess too, but I don't have gcc-4.2.x installed to
check, it would be useful if someone who has that compiler can check if
the Config test case builds in C++03 mode, and if so whether
<forward_list> is genuinely usable (or whether our test is too simplistic).

There are also some GCC versions which support C++11 features in C++03
mode, but complain so loudly about doing so that the feature is
effectively unusable.


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