Define std::owner_less<void> specialization (P0074R0)
authorJonathan Wakely <jwakely@redhat.com>
Wed, 3 Aug 2016 18:11:18 +0000 (19:11 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 3 Aug 2016 18:11:18 +0000 (19:11 +0100)
commitb7dabce5f3a4f3b3468181a1cba0ef690f8855bd
treee3a88492718a05a97cc8098f6d4ab4ae303bcf83
parent068c8ac17cbece8f2bf12cb75f624d89423534da
Define std::owner_less<void> specialization (P0074R0)

* include/bits/shared_ptr.h (owner_less): Add default template
argument.
* include/bits/shared_ptr_base.h (_Sp_owner_less<void, void>): Define
specialization.
(owner_less<void>): Define specialization.
* include/bits/stl_function.h (__cpp_lib_transparent_operators):
Update value.
* testsuite/20_util/owner_less/void.cc: New test.
* testsuite/experimental/feat-cxx14.cc: Update macro value tested.

From-SVN: r239089
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/shared_ptr.h
libstdc++-v3/include/bits/shared_ptr_base.h
libstdc++-v3/include/bits/stl_function.h
libstdc++-v3/testsuite/20_util/owner_less/void.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/feat-cxx14.cc