gcc/libstdc++-v3/include
Jonathan Wakely b26f45f069 PR libstdc++/80553 don't allow destroying non-destructible types
PR libstdc++/80553
	* include/bits/stl_construct.h (_Destroy, _Destroy_n): Add static
	assertions to ensure type is destructible.
	(destroy_at, destroy, destroy_n): Move from stl_uninitialized.h.
	* include/bits/stl_uninitialized.h (destroy_at, destroy, destroy_n):
	Move to stl_construct.h.
	* testsuite/20_util/specialized_algorithms/memory_management_tools/
	destroy_neg.cc: New test.
	* testsuite/23_containers/vector/cons/destructible_neg.cc: New test.

From-SVN: r247379
2017-04-28 13:56:53 +01:00
..
backward Avoid deprecated warnings about std::auto_ptr in library headers 2017-04-21 14:08:51 +01:00
bits PR libstdc++/80553 don't allow destroying non-destructible types 2017-04-28 13:56:53 +01:00
c
c_compatibility
c_global
c_std
debug
decimal
experimental PR libstdc++/80493 fix invalid exception specification 2017-04-24 12:40:02 +01:00
ext Remove reundant const-qualification from cast targets 2017-04-27 16:17:05 +01:00
parallel
precompiled
profile
std PR libstdc++/80316 make promise::set_value throw no_state error 2017-04-21 15:49:19 +01:00
tr1 PR libstdc++/68397 std::tr1::expint fails ... long double arguments. 2017-04-20 15:41:59 +00:00
tr2
Makefile.am
Makefile.in