gcc/libstdc++-v3/include/bits
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
..
algorithmfwd.h Update copyright years. 2017-01-01 13:07:43 +01:00
alloc_traits.h Update copyright years. 2017-01-01 13:07:43 +01:00
allocated_ptr.h Update copyright years. 2017-01-01 13:07:43 +01:00
allocator.h Update copyright years. 2017-01-01 13:07:43 +01:00
atomic_base.h Update copyright years. 2017-01-01 13:07:43 +01:00
atomic_futex.h Update copyright years. 2017-01-01 13:07:43 +01:00
basic_ios.h Update copyright years. 2017-01-01 13:07:43 +01:00
basic_ios.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
basic_string.h Update copyright years. 2017-01-01 13:07:43 +01:00
basic_string.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
boost_concept_check.h Update copyright years. 2017-01-01 13:07:43 +01:00
c++0x_warning.h Update copyright years. 2017-01-01 13:07:43 +01:00
c++14_warning.h Update copyright years. 2017-01-01 13:07:43 +01:00
c++17_warning.h Update copyright years. 2017-01-01 13:07:43 +01:00
c++config Update copyright years. 2017-01-01 13:07:43 +01:00
char_traits.h Update copyright years. 2017-01-01 13:07:43 +01:00
codecvt.h Update copyright years. 2017-01-01 13:07:43 +01:00
concept_check.h Update copyright years. 2017-01-01 13:07:43 +01:00
cpp_type_traits.h Update copyright years. 2017-01-01 13:07:43 +01:00
deque.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
enable_special_members.h Update copyright years. 2017-01-01 13:07:43 +01:00
forward_list.h Update copyright years. 2017-01-01 13:07:43 +01:00
forward_list.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
fstream.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
functexcept.h Update copyright years. 2017-01-01 13:07:43 +01:00
functional_hash.h Update copyright years. 2017-01-01 13:07:43 +01:00
gslice_array.h Update copyright years. 2017-01-01 13:07:43 +01:00
gslice.h Update copyright years. 2017-01-01 13:07:43 +01:00
hashtable_policy.h Update copyright years. 2017-01-01 13:07:43 +01:00
hashtable.h Update copyright years. 2017-01-01 13:07:43 +01:00
indirect_array.h Update copyright years. 2017-01-01 13:07:43 +01:00
invoke.h Update copyright years. 2017-01-01 13:07:43 +01:00
ios_base.h Update copyright years. 2017-01-01 13:07:43 +01:00
istream.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
list.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
locale_classes.h Update copyright years. 2017-01-01 13:07:43 +01:00
locale_classes.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
locale_conv.h Update copyright years. 2017-01-01 13:07:43 +01:00
locale_facets_nonio.h Update copyright years. 2017-01-01 13:07:43 +01:00
locale_facets_nonio.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
locale_facets.h Update copyright years. 2017-01-01 13:07:43 +01:00
locale_facets.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
localefwd.h Update copyright years. 2017-01-01 13:07:43 +01:00
mask_array.h Update copyright years. 2017-01-01 13:07:43 +01:00
memoryfwd.h Update copyright years. 2017-01-01 13:07:43 +01:00
move.h Update copyright years. 2017-01-01 13:07:43 +01:00
node_handle.h Update copyright years. 2017-01-01 13:07:43 +01:00
ostream_insert.h Update copyright years. 2017-01-01 13:07:43 +01:00
ostream.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
parse_numbers.h Update copyright years. 2017-01-01 13:07:43 +01:00
postypes.h Update copyright years. 2017-01-01 13:07:43 +01:00
predefined_ops.h Update copyright years. 2017-01-01 13:07:43 +01:00
ptr_traits.h Update copyright years. 2017-01-01 13:07:43 +01:00
quoted_string.h Update copyright years. 2017-01-01 13:07:43 +01:00
random.h Update copyright years. 2017-01-01 13:07:43 +01:00
random.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
range_access.h Update copyright years. 2017-01-01 13:07:43 +01:00
refwrap.h Update copyright years. 2017-01-01 13:07:43 +01:00
regex_automaton.h Update copyright years. 2017-01-01 13:07:43 +01:00
regex_automaton.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
regex_compiler.h Update copyright years. 2017-01-01 13:07:43 +01:00
regex_compiler.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
regex_constants.h Update copyright years. 2017-01-01 13:07:43 +01:00
regex_error.h Update copyright years. 2017-01-01 13:07:43 +01:00
regex_executor.h Update copyright years. 2017-01-01 13:07:43 +01:00
regex_executor.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
regex_scanner.h Update copyright years. 2017-01-01 13:07:43 +01:00
regex_scanner.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
regex.h Update copyright years. 2017-01-01 13:07:43 +01:00
regex.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
shared_ptr_atomic.h Update copyright years. 2017-01-01 13:07:43 +01:00
shared_ptr_base.h Update copyright years. 2017-01-01 13:07:43 +01:00
shared_ptr.h Update copyright years. 2017-01-01 13:07:43 +01:00
slice_array.h Update copyright years. 2017-01-01 13:07:43 +01:00
specfun.h Update copyright years. 2017-01-01 13:07:43 +01:00
sstream.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
std_abs.h Update copyright years. 2017-01-01 13:07:43 +01:00
std_function.h Update copyright years. 2017-01-01 13:07:43 +01:00
std_mutex.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_algo.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_algobase.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_bvector.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_construct.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_deque.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_function.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_heap.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_iterator_base_funcs.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_iterator_base_types.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_iterator.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_list.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_map.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_multimap.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_multiset.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_numeric.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_pair.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_queue.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_raw_storage_iter.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_relops.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_set.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_stack.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_tempbuf.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_tree.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_uninitialized.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_vector.h Update copyright years. 2017-01-01 13:07:43 +01:00
stream_iterator.h Update copyright years. 2017-01-01 13:07:43 +01:00
streambuf_iterator.h Update copyright years. 2017-01-01 13:07:43 +01:00
streambuf.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
string_view.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
stringfwd.h Update copyright years. 2017-01-01 13:07:43 +01:00
uniform_int_dist.h Update copyright years. 2017-01-01 13:07:43 +01:00
unique_ptr.h Implement 2801, Default-constructibility of unique_ptr. 2017-01-04 15:21:02 +02:00
unordered_map.h Update copyright years. 2017-01-01 13:07:43 +01:00
unordered_set.h Update copyright years. 2017-01-01 13:07:43 +01:00
uses_allocator.h Update copyright years. 2017-01-01 13:07:43 +01:00
valarray_after.h Update copyright years. 2017-01-01 13:07:43 +01:00
valarray_array.h Update copyright years. 2017-01-01 13:07:43 +01:00
valarray_array.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
valarray_before.h Update copyright years. 2017-01-01 13:07:43 +01:00
vector.tcc Update copyright years. 2017-01-01 13:07:43 +01:00