Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specializations that always hold true.
Syntax
template <class Ty, class Alloc>
struct uses_allocator<promise<Ty>, Alloc> : true_type;
template <class Ty, class Alloc>
struct uses_allocator<packaged_task<Ty>, Alloc> : true_type;
Requirements
Header: <future>
Namespace: std
Specializations
<tuple>
template <class... Types, class Alloc>
struct uses_allocator<tuple<Types...>, Alloc>;