gcc/libstdc++-v3/include/experimental
Jonathan Wakely e70359b3de PR libstdc++/70966 make pmr::new_delete_resource() immortal
Construct the program-wide resource objects using placement new. This
means they have dynamic storage duration and won't be destroyed during
termination.

	PR libstdc++/70966
	* include/experimental/memory_resource (__resource_adaptor_imp): Add
	static assertions to enforce requirements on pointer types.
	(__resource_adaptor_imp::get_allocator()): Add noexcept.
	(new_delete_resource, null_memory_resource): Return address of an
	object with dynamic storage duration.
	(__null_memory_resource): Remove.
	* testsuite/experimental/memory_resource/70966.cc: New.

From-SVN: r261818
2018-06-20 20:34:53 +01:00
..
bits PR libstdc++/78870 support std::filesystem on Windows 2018-05-31 20:20:24 +01:00
algorithm
any
array
chrono
deque
filesystem
forward_list
functional
iterator
list
map
memory
memory_resource PR libstdc++/70966 make pmr::new_delete_resource() immortal 2018-06-20 20:34:53 +01:00
numeric
optional
propagate_const
random
ratio
regex
set
source_location
string
string_view
system_error
tuple
type_traits
unordered_map
unordered_set
utility
vector