Namespaces
Variants
Views
Actions

std::std::uses_allocator<std::promise>

From cppreference.com
template< class R, class Alloc >
struct uses_allocator<std::promise<R>, Alloc> : true_type { };
(since C++11)

Provides a specialization of the std::uses_allocator type trait for std::promise.

[edit] See also

checks if the specified type supports uses-allocator construction
(class template) [edit]