Boost logo

Boost :

Subject: Re: [boost] Request for endorsements for mp11
From: Peter Dimov (lists_at_[hidden])
Date: 2017-05-22 22:09:57

Fletcher, John P wrote:
> As a result of this request I am having a look at mp11. The documentation
> talks about C++11.
> The example in the documentation on this page
> contains std::common_type_t and other things which are in C++14 and not
> C++11.
> Please can the documentation be modified to be clear on what is usable in
> C++11.

Everything in the library is usable in (and being tested on) C++11, but the
examples use a few C++14 features here and there, mostly the _t variants of
the standard type traits and polymorphic lambdas.

Now that we have _t traits in Boost.TypeTraits (on the develop branch for
now), I could in principle make the examples use them instead, although
they're clearer as is.

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