gcc/libstdc++-v3/testsuite
Ville Voutilainen ca9e949f2e Use constexpr addressof in optional, SFINAE housekeeping for any, optional and tuple.
Use constexpr addressof in optional, SFINAE housekeeping
for any, optional and tuple.
* include/std/any (__do_emplace(_Args&&...)): New.
(__do_emplace(initializer_list<_Up>, _Args&&...)): Likewise.
(__any_constructible): Likewise.
(__any_constructible_t): Use __any_constructible.
(operator=(_ValueType&&)): SFINAE in the return type.
(emplace(_Args&&...)): Likewise.
(emplace(initializer_list<_Up>, _Args&&...)): Likewise.
* include/std/optional (_Has_addressof_mem): Remove.
(_Has_addressof_free): Likewise.
(_Has_addressof): Likewise.
(__constexpr_addressof(_Tp&)): Likewise.
(operator->): Use std::__addressof.
* include/std/tuple (operator=(const tuple<_UElements...>&)):
SFINAE in return type.
(operator=(tuple<_UElements...>&&)): Likewise.
* testsuite/20_util/any/misc/any_cast_neg.cc: Adjust.

From-SVN: r242390
2016-11-14 17:30:37 +02:00
..
17_intro
18_support Implement std::launder for C++17 2016-10-28 15:09:33 +01:00
19_diagnostics
20_util Use constexpr addressof in optional, SFINAE housekeeping for any, optional and tuple. 2016-11-14 17:30:37 +02:00
21_strings Implement P0403R1, Literal suffixes for basic_string_view. 2016-11-13 22:54:27 +02:00
22_locale isblank.cc: Remove 'test' variables. 2016-10-17 00:02:57 +00:00
23_containers 57619.C: Rename to 57619.cc. 2016-10-17 13:32:32 +00:00
24_iterators container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
25_algorithms PR77994 Convert std::sample size argument to suitable type 2016-10-17 15:39:23 +01:00
26_numerics 1.cc: Remove 'test' variables. 2016-10-14 13:50:24 +00:00
27_io 12790-1.cc: Remove 'test' variables. 2016-10-17 22:24:50 +00:00
28_regex regex.h (regex_iterator::regex_iterator()): Define end() as _M_pregex == nullptr. 2016-11-09 22:11:32 +00:00
29_atomics container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
30_threads DR 374 - specialization in outer namespace 2016-11-13 01:51:23 -05:00
abi
backward container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
config
data
decimal container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
experimental Implement P0403R1, Literal suffixes for basic_string_view. 2016-11-13 22:54:27 +02:00
ext DR 374 - specialization in outer namespace 2016-11-13 01:51:23 -05:00
lib
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters
libstdc++-xmethods
performance
special_functions container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
tr1 DR 374 - specialization in outer namespace 2016-11-13 01:51:23 -05:00
tr2 container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
util Fix error handling in copy_file and equivalent 2016-10-25 16:32:37 +01:00
Makefile.am
Makefile.in