std::uses_allocator
Min standard notice:
Header: <memory>
If T has a nested type allocator_type which is convertible from Alloc, the member constant value is true. Otherwise value is false.
# Declarations
template< class T, class Alloc >
struct uses_allocator;
(since C++11)
# Notes
This type trait is used by std::tuple, std::scoped_allocator_adaptor, and std::pmr::polymorphic_allocator. It may also be used by custom allocators or wrapper types to determine whether the object or member being constructed is itself capable of using an allocator (e.g. is a container), in which case an allocator should be passed to its constructor.