gcc/libstdc++-v3/testsuite/20_util/shared_ptr
Jonathan Wakely a00cc15e3d re PR c++/52924 (Using an std::function object as deleter of shared_ptr in C++0x mode does not compile)
PR libstdc++/52924
	* include/bits/shared_ptr_base.h (_Sp_counted_deleter): Add
	user-defined destructor.
	(_Sp_counted_inplace): Likewise.
	* testsuite/20_util/shared_ptr/cons/52924.cc: New.
	* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
	line numbers.

From-SVN: r186363
2012-04-11 23:54:53 +01:00
..
assign pt.c (tinst_level_tick, [...]): Replace with last_error_tinst_level. 2011-07-16 22:34:22 -04:00
casts Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
comparison shared_ptr.h (operator>, [...]): Add, per DR 1401. 2011-03-22 15:15:03 +00:00
cons re PR c++/52924 (Using an std::function object as deleter of shared_ptr in C++0x mode does not compile) 2012-04-11 23:54:53 +01:00
creation shared_ptr_base.h (_Sp_counted_ptr): Make 'final'. 2011-11-08 16:45:54 +00:00
dest Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
hash shared_ptr.h (hash<shared_ptr>): Add. 2010-06-11 16:20:24 +00:00
misc re PR libstdc++/42019 (shared_ptr can not be used with -fno-rtti) 2009-11-20 21:23:02 +00:00
modifiers stl_pair.h (swap): Do not swap rvalues. 2009-05-18 23:15:56 +01:00
observers functional (function): Use explicit operator bool. 2009-05-21 01:12:00 +00:00
requirements/explicit_instantiation Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
thread Remove obsolete IRIX 6.5 support 2012-03-14 16:33:37 +00:00