folly::is_allocator_v

is_allocator_v is_allocator

Synopsis

Declared in <folly/Traits.h>

template<typename T>
inline constexpr bool is_allocator_v = detail::is_allocator_<T>;

Description

A trait variable and type to test whether a type is an allocator according to the minimum protocol required by std::allocator_traits.