|
Boost : |
Subject: Re: [boost] New C++14 config macros - opinions wanted
From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2014-09-24 20:52:12
On Wed, Sep 24, 2014 at 10:12 AM, John Maddock
<jz.maddock_at_[hidden]> wrote:
> * Do we need these?
Some of them would be nice to have, in any case. e.g. The absence of
BOOST_NO_CXX14_VARIABLE_TEMPLATES would enable a library author to
provide things like _v value traits [conditionally, for those who only
care about C++14 and want to use them, or just for consistency with
the C++ standard library that now provides them].
> * Are these the correct names?
I think these ones are reasonable:
- BOOST_NO_CXX14_DECLTYPE_AUTO
- BOOST_NO_CXX14_VARIABLE_TEMPLATES
- BOOST_NO_CXX14_GENERIC_LAMBDAS
- BOOST_NO_CXX14_BINARY_LITERALS
- BOOST_NO_CXX14_DEPRECATED_ATTRIBUTES
And this one after renaming slightly:
- BOOST_NO_CXX14_RELAXED_CONSTEXPR
And this one instead, for lambda capture:
- BOOST_NO_CXX14_LAMBDA_CAPTURE_EXPRESSIONS
(Or perhaps not, if it's too lengthy)
> * Are the proposed tests correct?
I'll put aside some time to look at the tests; I haven't reviewed them yet.
Glen
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk