Fix missing or incorrect feature test macros
authorJonathan Wakely <jwakely@redhat.com>
Tue, 15 Jan 2019 12:01:12 +0000 (12:01 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 15 Jan 2019 12:01:12 +0000 (12:01 +0000)
commit56a9eaf9abc9a7994c7e5f2ec157abace9b96167
treefe976a899f0c5d90d9756a0fabc4404ca56b2ad2
parent04fdd1fdec04e23a19450e4cd0e08d88fa0198ac
Fix missing or incorrect feature test macros

* doc/xml/manual/status_cxx2017.xml: Document P0032R3 and P0307R2
status.
* include/bits/stl_uninitialized.h (__cpp_lib_raw_memory_algorithms):
Define.
* include/std/any (__cpp_lib_any): Define as 201606L, because P0032R3
changes are supported.
* include/std/optional (__cpp_lib_optional): Likewise.
* include/std/variant (__cpp_lib_variant): Likewise.
* include/std/version [!__STRICT_ANSI__]
(__cpp_lib_uncaught_exceptions): Define as long integer.
[__cplusplus >= 201703L] (__cpp_lib_any)
(__cpp_lib_raw_memory_algorithms, __cpp_lib_uncaught_exceptions)
(__cpp_lib_variant): Define for C++17.
[__cplusplus >= 201703L] (__cpp_lib_optional): Update value and define
as long integer.
* libsupc++/exception (__cpp_lib_uncaught_exceptions): Define as long
integer.

From-SVN: r267936
libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/status_cxx2017.xml
libstdc++-v3/include/bits/stl_uninitialized.h
libstdc++-v3/include/std/any
libstdc++-v3/include/std/optional
libstdc++-v3/include/std/variant
libstdc++-v3/include/std/version
libstdc++-v3/libsupc++/exception