Searched refs:uses_allocator_v (Results 1 - 2 of 2) sorted by relevance

/openbsd-current/gnu/llvm/libcxx/include/__memory/
H A Duses_allocator.h54 inline constexpr size_t uses_allocator_v = uses_allocator<_Tp, _Alloc>::value; variable
H A Duses_allocator_construction.h39 if constexpr (!uses_allocator_v<_Type, _Alloc> && is_constructible_v<_Type, _Args...>) {
41 } else if constexpr (uses_allocator_v<_Type, _Alloc> &&
44 } else if constexpr (uses_allocator_v<_Type, _Alloc> && is_constructible_v<_Type, _Args..., const _Alloc&>) {
48 sizeof(_Type) + 1 == 0, "If uses_allocator_v<Type> is true, the type has to be allocator-constructible");

Completed in 110 milliseconds