Subject: [Boost-bugs] [Boost C++ Libraries] #13438: Boost Config check for std::optional
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-02-06 07:24:18
#13438: Boost Config check for std::optional
-----------------------------------------+--------------------------
Reporter: Tony E Lewis <TonyELewis@â¦> | Owner: John Maddock
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: config
Version: Boost 1.66.0 | Severity: Problem
Keywords: boost,config,c++17,optional |
-----------------------------------------+--------------------------
Please can you add a check for the availability of C++17's
`std::optional`. I think this would be really helpful because:
* AFAIA, the major compilers all now have `optional` in `std::` (rather
than in `std::experimental::`)
* I get the impression that people are fast adopting `std::optional` as a
standard part of their type vocabulary.
* I know at least one other ticket (ticket:12175) that's declining to
support `std::optional` until Boost Config offers this feature test.
I'm not sure about Boost Config's policy about how it interacts with the
standard's
[http://en.cppreference.com/w/User:D41D8CD98F/feature_testing_macros
feature testing macros] (which include one for `std::optional`). If you
expect other libraries to use those feature tests directly, please can you
point me to documentation for that policy that I can we can point other
library devs to?
Thanks very much.
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13438> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2018-02-06 07:28:19 UTC