gcc/libstdc++-v3/include/bits
Paolo Carlini be9d3d7342 shared_ptr.h (shared_ptr<>::__shared_ptr(), [...]): Add constexpr specifier.
2010-11-05  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/shared_ptr.h (shared_ptr<>::__shared_ptr(),
	shared_ptr<>::shared_ptr(nullptr_t), weak_ptr<>::weak_ptr(),
	enable_shared_from_this::enable_shared_from_this()): Add constexpr
	specifier.
	* include/bits/shared_ptr_base.h (__shared_count::__shared_count(),
	__shared_count::__shared_count(), __shared_ptr<>::__shared_ptr(),
	__shared_ptr<>::__shared_ptr(nullptr_t), __weak_ptr<>::__weak_ptr(),
	__enable_shared_from_this::__enable_shared_from_this()): Likewise.
	* include/bits/unique_ptr.h (default_delete,
	unique_ptr<>::unique_ptr(), unique_ptr<>::unique_ptr(nullptr_t)):
	Likewise.
	* testsuite/20_util/default_delete/cons/constexpr.cc: Do not xfail.
	* testsuite/20_util/shared_ptr/cons/constexpr.cc: Remove, the test
	cannot work for a non-literal type like std::shared_ptr.
	* testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise.
	* testsuite/util/testsuite_common_types.h: Add comments.
	* testsuite/20_util/unique_ptr/cons/constexpr.cc: Likewise.
	* testsuite/20_util/shared_ptr/cons/43820.cc: Adjust dg-error line
	numbers.
	* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.

From-SVN: r166386
2010-11-06 00:11:57 +00:00
..
algorithmfwd.h stl_algo.h (shuffle): Change signature consistently with random_shuffle (US 121). 2010-08-11 17:10:04 +00:00
allocator.h libstdc++: N3126 draft support. 2010-11-01 22:35:28 -04:00
atomic_0.h * include/bits/atomic_0.h (_ATOMIC_CMPEXCHNG_): Use C-style cast. 2010-11-02 13:39:59 -04:00
atomic_2.h libstdc++: N3126 draft support. 2010-11-01 22:35:28 -04:00
atomic_base.h libstdc++: N3126 draft support. 2010-11-01 22:35:28 -04:00
basic_ios.h re PR libstdc++/42460 (man page errors for generated libstdc++ man pages) 2010-02-04 18:20:34 +00:00
basic_ios.tcc
basic_string.h functional_hash.h (__hash_base): Add. 2010-09-22 17:50:36 +00:00
basic_string.tcc c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
boost_concept_check.h c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
c++0x_warning.h faq.xml: Adjust structure for pdf index. 2010-02-25 01:22:57 +00:00
c++config libstdc++: N3126 draft support. 2010-11-01 22:35:28 -04:00
char_traits.h libstdc++: N3126 draft support. 2010-11-01 22:35:28 -04:00
codecvt.h streambuf: Adjust doxygen group markup. 2010-02-10 05:45:24 +00:00
concept_check.h
cpp_type_traits.h type_traits (_GLIBCXX_HAS_NESTED_TYPE): Add. 2010-10-05 15:53:35 +00:00
deque.tcc re PR libstdc++/32618 (std::vector calls uneccessary constructors instead of inplace construction of first object) 2010-06-18 18:07:45 +00:00
forward_list.h forward_list.h (_Fwd_list_node_base::swap): Remove. 2010-10-25 10:47:19 +00:00
forward_list.tcc forward_list.h (forward_list<>::erase_after): Return an iterator. 2010-10-17 17:34:38 +00:00
fstream.tcc re PR libstdc++/45841 (r164529 cris-elf libstdc++ 27_io/basic_filebuf/seekoff/char/2-io.cc) 2010-10-06 00:17:28 +00:00
functexcept.h functional (function::function): Move construct target. 2009-12-15 17:42:47 +00:00
functional_hash.h functional_hash.h (__hash_base): Add. 2010-09-22 17:50:36 +00:00
gslice.h
gslice_array.h
hashtable.h PR libstdc++/44436 (partial) 2010-10-28 16:01:05 +00:00
hashtable_policy.h stl_function.h (_Select1st<>::operator()): Add templatized overloads. 2010-10-29 15:11:47 +00:00
indirect_array.h
ios_base.h libstdc++: N3126 draft support. 2010-11-01 22:35:28 -04:00
istream.tcc revert: compatibility.cc: Make C++0x safe, add in explicit casts to bool for stream sentry objects. 2009-09-05 00:18:07 +00:00
list.tcc re PR libstdc++/32618 (std::vector calls uneccessary constructors instead of inplace construction of first object) 2010-06-18 18:07:45 +00:00
locale_classes.h ios_init.cc (ios_base::Init::~Init): Add back semicolon at the end of the _GLIBCXX_SYNCHRONIZATION_HAPPENS* macros... 2010-08-13 11:48:34 +00:00
locale_classes.tcc
locale_facets.h c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
locale_facets.tcc c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
locale_facets_nonio.h locale_facets_nonio.h (time_get::get_time): Doc typo. 2010-10-05 21:58:59 +01:00
locale_facets_nonio.tcc locale_facets_nonio.tcc (time_get<>:: _M_extract_via_format): Tighten somewhat error checking. 2010-10-07 11:23:07 +00:00
localefwd.h streambuf: Adjust doxygen group markup. 2010-02-10 05:45:24 +00:00
mask_array.h
move.h move.h (forward): Reinstate the N2835 version. 2010-08-11 16:55:33 +00:00
ostream.tcc revert: compatibility.cc: Make C++0x safe, add in explicit casts to bool for stream sentry objects. 2009-09-05 00:18:07 +00:00
ostream_insert.h revert: compatibility.cc: Make C++0x safe, add in explicit casts to bool for stream sentry objects. 2009-09-05 00:18:07 +00:00
postypes.h
random.h cinttypes: Remove, move contents to C++0x and TR1 headers. 2010-11-02 18:51:23 +00:00
random.tcc cinttypes: Remove, move contents to C++0x and TR1 headers. 2010-11-02 18:51:23 +00:00
range_access.h [multiple changes] 2010-07-27 17:27:06 +00:00
regex.h cinttypes: Remove, move contents to C++0x and TR1 headers. 2010-11-02 18:51:23 +00:00
regex_compiler.h cinttypes: Remove, move contents to C++0x and TR1 headers. 2010-11-02 18:51:23 +00:00
regex_constants.h cinttypes: Remove, move contents to C++0x and TR1 headers. 2010-11-02 18:51:23 +00:00
regex_cursor.h cinttypes: Remove, move contents to C++0x and TR1 headers. 2010-11-02 18:51:23 +00:00
regex_error.h cinttypes: Remove, move contents to C++0x and TR1 headers. 2010-11-02 18:51:23 +00:00
regex_grep_matcher.h cinttypes: Remove, move contents to C++0x and TR1 headers. 2010-11-02 18:51:23 +00:00
regex_grep_matcher.tcc cinttypes: Remove, move contents to C++0x and TR1 headers. 2010-11-02 18:51:23 +00:00
regex_nfa.h cinttypes: Remove, move contents to C++0x and TR1 headers. 2010-11-02 18:51:23 +00:00
regex_nfa.tcc cinttypes: Remove, move contents to C++0x and TR1 headers. 2010-11-02 18:51:23 +00:00
shared_ptr.h shared_ptr.h (shared_ptr<>::__shared_ptr(), [...]): Add constexpr specifier. 2010-11-06 00:11:57 +00:00
shared_ptr_base.h shared_ptr.h (shared_ptr<>::__shared_ptr(), [...]): Add constexpr specifier. 2010-11-06 00:11:57 +00:00
slice_array.h
sstream.tcc
stl_algo.h re PR libstdc++/45488 (lower_bound doesn't really require the iterator parameters to be default constructible) 2010-09-01 22:58:15 +00:00
stl_algobase.h re PR libstdc++/45488 (lower_bound doesn't really require the iterator parameters to be default constructible) 2010-09-01 22:58:15 +00:00
stl_bvector.h functional_hash.h (__hash_base): Add. 2010-09-22 17:50:36 +00:00
stl_construct.h stl_construct.h (_Construct): Change to variadic in C++0x mode, consistently with allocator::construct. 2010-06-16 12:26:24 +00:00
stl_deque.h move.h (forward): Update to N3092. 2010-08-05 07:34:08 +00:00
stl_function.h stl_function.h (_Select1st<>::operator()): Add templatized overloads. 2010-10-29 15:11:47 +00:00
stl_heap.h stl_heap.h: Update markup. 2010-07-08 17:48:12 +00:00
stl_iterator.h libstdc++: N3126 draft support. 2010-11-01 22:35:28 -04:00
stl_iterator_base_funcs.h re PR libstdc++/45549 (merge is_iterator into iterator_traits) 2010-09-07 22:30:33 +00:00
stl_iterator_base_types.h type_traits (_GLIBCXX_HAS_NESTED_TYPE): Add. 2010-10-05 15:53:35 +00:00
stl_list.h move.h (forward): Update to N3092. 2010-08-05 07:34:08 +00:00
stl_map.h move.h (forward): Update to N3092. 2010-08-05 07:34:08 +00:00
stl_multimap.h move.h (forward): Update to N3092. 2010-08-05 07:34:08 +00:00
stl_multiset.h move.h (forward): Update to N3092. 2010-08-05 07:34:08 +00:00
stl_numeric.h PR libstdc++/22634, DR 539 [Ready] 2009-12-11 17:54:37 +00:00
stl_pair.h libstdc++: N3126 draft support. 2010-11-01 22:35:28 -04:00
stl_queue.h allocator.h (allocator_arg_t, [...]): Add. 2010-09-27 17:27:43 +00:00
stl_raw_storage_iter.h stl_raw_storage_iter.h (raw_storage_iterator<>:: operator=(const _Tp&)): Use std::__addressof. 2010-09-16 17:09:10 +00:00
stl_relops.h
stl_set.h move.h (forward): Update to N3092. 2010-08-05 07:34:08 +00:00
stl_stack.h allocator.h (allocator_arg_t, [...]): Add. 2010-09-27 17:27:43 +00:00
stl_tempbuf.h stl_construct.h (_Construct): Change to variadic in C++0x mode, consistently with allocator::construct. 2010-06-16 12:26:24 +00:00
stl_tree.h stl_tree.h (erase(iterator), [...]): Remove inline specifier. 2010-06-23 09:50:42 +00:00
stl_uninitialized.h stl_uninitialized.h (__uninitialized_default, [...]): Add. 2010-06-17 08:34:17 +00:00
stl_vector.h move.h (forward): Update to N3092. 2010-08-05 07:34:08 +00:00
stream_iterator.h libstdc++: N3126 draft support. 2010-11-01 22:35:28 -04:00
streambuf.tcc
streambuf_iterator.h libstdc++: N3126 draft support. 2010-11-01 22:35:28 -04:00
stringfwd.h re PR libstdc++/44014 (no std::string in API documentation) 2010-05-06 20:57:58 +01:00
unique_ptr.h shared_ptr.h (shared_ptr<>::__shared_ptr(), [...]): Add constexpr specifier. 2010-11-06 00:11:57 +00:00
unordered_map.h stl_function.h (_Select1st<>::operator()): Add templatized overloads. 2010-10-29 15:11:47 +00:00
unordered_set.h hashtable.h (_Hashtable<>::operator=(const _Hashtable&)): Move inline. 2010-08-14 01:00:23 +00:00
valarray_after.h re PR libstdc++/27340 (valarray uses __cos which may conflict with libm functions) 2010-02-06 20:41:09 +00:00
valarray_array.h stl_uninitialized.h (__uninitialized_default, [...]): Add. 2010-06-17 08:34:17 +00:00
valarray_array.tcc
valarray_before.h re PR libstdc++/27340 (valarray uses __cos which may conflict with libm functions) 2010-02-06 20:41:09 +00:00
vector.tcc hash_bytes.cc: New file... 2010-09-13 18:23:56 +00:00