gcc/libstdc++-v3/testsuite
Ville Voutilainen 1308676957 Implement 2801, Default-constructibility of unique_ptr.
* include/bits/unique_ptr.h (__uniq_ptr_impl::_DeleterConstraint): New.
(unique_ptr::_DeleterConstraint): Likewise.
(unique_ptr()): Constrain.
(unique_ptr(pointer)): Likewise.
(unique_ptr(nullptr_t)): Likewise.
(unique_ptr<_Tp[], _Dp>::_DeleterConstraint): New.
(unique_ptr<_Tp[], _Dp>::unique_ptr()): Constrain.
(unique_ptr<_Tp[], _Dp>::unique_ptr(_Up)): Likewise.
(unique_ptr<_Tp[], _Dp>::unique_ptr(nullptr_t)): Likewise.
* testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust.
* testsuite/20_util/unique_ptr/cons/cv_qual_neg.cc: Likewise.
* testsuite/20_util/unique_ptr/cons/default.cc: New.
* testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Adjust.

From-SVN: r244054
2017-01-04 15:21:02 +02:00
..
17_intro Update copyright years. 2017-01-01 13:07:43 +01:00
18_support Support exception propagation without lock-free atomic int 2017-01-04 10:54:59 +00:00
19_diagnostics Update copyright years. 2017-01-01 13:07:43 +01:00
20_util Implement 2801, Default-constructibility of unique_ptr. 2017-01-04 15:21:02 +02:00
21_strings Update copyright years. 2017-01-01 13:07:43 +01:00
22_locale Update copyright years. 2017-01-01 13:07:43 +01:00
23_containers Update copyright years. 2017-01-01 13:07:43 +01:00
24_iterators Update copyright years. 2017-01-01 13:07:43 +01:00
25_algorithms Update copyright years. 2017-01-01 13:07:43 +01:00
26_numerics Update copyright years. 2017-01-01 13:07:43 +01:00
27_io Update copyright years. 2017-01-01 13:07:43 +01:00
28_regex Update copyright years. 2017-01-01 13:07:43 +01:00
29_atomics Update copyright years. 2017-01-01 13:07:43 +01:00
30_threads Support exception propagation without lock-free atomic int 2017-01-04 10:54:59 +00:00
abi Update copyright years. 2017-01-01 13:07:43 +01:00
backward Update copyright years. 2017-01-01 13:07:43 +01:00
config Update copyright years. 2017-01-01 13:07:43 +01:00
data make_graph_test_infos.xml: Edit. 2011-08-15 00:51:06 +00:00
decimal Update copyright years. 2017-01-01 13:07:43 +01:00
experimental Update copyright years. 2017-01-01 13:07:43 +01:00
ext Update copyright years. 2017-01-01 13:07:43 +01:00
lib Update copyright years. 2017-01-01 13:07:43 +01:00
libstdc++-abi Update copyright years. 2017-01-01 13:07:43 +01:00
libstdc++-dg Update copyright years. 2017-01-01 13:07:43 +01:00
libstdc++-prettyprinters Update copyright years. 2017-01-01 13:07:43 +01:00
libstdc++-xmethods Update copyright years. 2017-01-01 13:07:43 +01:00
performance Update copyright years. 2017-01-01 13:07:43 +01:00
special_functions Update copyright years. 2017-01-01 13:07:43 +01:00
tr1 Update copyright years. 2017-01-01 13:07:43 +01:00
tr2 Update copyright years. 2017-01-01 13:07:43 +01:00
util Update copyright years. 2017-01-01 13:07:43 +01:00
Makefile.am Update copyright years. 2017-01-01 13:07:43 +01:00
Makefile.in Makefile.in ($(lang_checks_parallelized)): Fix detection of -j argument. 2016-11-22 17:33:43 +01:00