]> gcc.gnu.org Git - gcc.git/commit - libstdc++-v3/ChangeLog
libstdc++: Add __cpp_lib_unwrap_ref feature test macro
authorJonathan Wakely <jwakely@redhat.com>
Wed, 19 Feb 2020 15:06:24 +0000 (15:06 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 19 Feb 2020 15:28:54 +0000 (15:28 +0000)
commitbb54e0b8794dfeea1f59ed9ca6433df1eccb85e9
treede8c44ef247ff7e282dbe8cbf2e96de48f0d8bd7
parent5f031f9747fdfb04213c20d24f109fb5ffc877df
libstdc++: Add __cpp_lib_unwrap_ref feature test macro

We already defined the traits in <type_traits> as now required by LWG
3348, but the macro was missing. This adds it.

* include/std/type_traits (__cpp_lib_unwrap_ref): Define (LWG 3348).
* include/std/version (__cpp_lib_unwrap_ref): Likewise.
* testsuite/20_util/unwrap_reference/1.cc: Check macro.
* testsuite/20_util/unwrap_reference/3.cc: New test.
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/type_traits
libstdc++-v3/include/std/version
libstdc++-v3/testsuite/20_util/unwrap_reference/1.cc
libstdc++-v3/testsuite/20_util/unwrap_reference/3.cc [new file with mode: 0644]
This page took 0.063737 seconds and 5 git commands to generate.