Implement std::launder for C++17
authorJonathan Wakely <jwakely@redhat.com>
Fri, 28 Oct 2016 14:09:33 +0000 (15:09 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 28 Oct 2016 14:09:33 +0000 (15:09 +0100)
commit1f5700e95225d0a95cae2f96c17699c4d133f5e0
treeecd360db0a445c1fa95554f352767c2d6d3cbf9a
parent0faf9ab4d6abd4f5b74ec2ca46a59a0c4b85f6a4
Implement std::launder for C++17

* doc/xml/manual/status_cxx2017.xml: Update status.
* doc/html/*: Regenerate.
* include/std/type_traits (has_unique_object_representations): Guard
with __has_builtin check.
* libsupc++/new (launder): Define for C++17.
* testsuite/18_support/launder/1.cc: New test.
* testsuite/18_support/launder/requirements.cc: New test.
* testsuite/18_support/launder/requirements_neg.cc: New test.

From-SVN: r241648
libstdc++-v3/ChangeLog
libstdc++-v3/doc/html/manual/status.html
libstdc++-v3/doc/xml/manual/status_cxx2017.xml
libstdc++-v3/include/std/type_traits
libstdc++-v3/libsupc++/new
libstdc++-v3/testsuite/18_support/launder/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/18_support/launder/requirements.cc [new file with mode: 0644]
libstdc++-v3/testsuite/18_support/launder/requirements_neg.cc [new file with mode: 0644]