class template partial specialization
std::uses_allocator<T, Alloc>
- Header
<algorithm>also in<array>,<bitset>,<chrono>,<condition_variable>,<deque>and 58 more- Draft
- [algorithm.syn]
- Scope
std- cppreference
- <algorithm> nearest page
Synopsis
template<class T, class Alloc>
requires requires { typename T::allocator_type; } && is_convertible_v<Alloc, typename T::allocator_type>
struct uses_allocator<T, Alloc>
: true_type