uses_allocator Structure
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>;
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for