gcc/libstdc++-v3/include/experimental
Jonathan Wakely 5ce55f3ff5 Simplify common case of use_future_t that uses std::allocator
There is no need to store and pass around the allocator object when it's
an instance of std::allocator. Define a partial specialization of
std::use_future_t and the corresponding completion token so that no
allocator is stored. Overload the completion handler constructor to not
expect an allocator to be stored.

	* include/experimental/executor (__use_future_ct, use_future_t):
	Define partial specializations for std::allocator.
	(__use_future_ch): Overload constructor for completion tokens using
	std::allocator.

From-SVN: r277404
2019-10-24 15:39:57 +01:00
..
bits
algorithm Make some new algorithms work in parallel mode 2019-10-01 22:02:27 +01:00
any
array
buffer
chrono
deque
executor Simplify common case of use_future_t that uses std::allocator 2019-10-24 15:39:57 +01:00
filesystem
forward_list
functional
internet
io_context
iterator
list
map
memory
memory_resource
net
netfwd
numeric
optional
propagate_const
random
ratio
regex
set
socket
source_location
string
string_view
system_error
timer
tuple
type_traits
unordered_map
unordered_set
utility
vector