다음을 통해 공유


uses_allocator Structure

Specializations that always hold true.

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

See Also

Reference

<future>

Other Resources

C++ Standard Library Header Files