gcc/libstdc++-v3/testsuite/20_util/shared_ptr
Jonathan Wakely fe807059aa re PR libstdc++/51365 (cannot use final empty class in std::tuple)
PR libstdc++/51365
	* include/bits/shared_ptr_base (_Sp_ebo_helper): Helper class to
	implement EBO safely.
	(_Sp_counted_base::_M_get_deleter): Add noexcept.
	(_Sp_counter_ptr): Use noexcept instead of comments.
	(_Sp_counted_deleter): Likewise. Use _Sp_ebo_helper.
	(_Sp_counted_ptr_inplace): Likewise.
	* testsuite/20_util/shared_ptr/cons/51365.cc: New.
	* testsuite/20_util/shared_ptr/cons/52924.cc: Add rebind member to
	custom allocator and test construction with custom allocator.
	* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
	line number.

From-SVN: r198367
2013-04-28 12:38:21 +01:00
..
assign Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
casts Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
comparison Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
cons re PR libstdc++/51365 (cannot use final empty class in std::tuple) 2013-04-28 12:38:21 +01:00
creation Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
dest Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
hash Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
misc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
modifiers Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
observers Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
requirements/explicit_instantiation Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
thread Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00