BloombergLP::bslma::AllocatorTraits_CallMaxSize<T, bsl::void_t<decltype(bslmf::Util::declval<T>().max_size())>>

Synopsis

Declared in <bslma_allocatortraits.h>

template<class T>
struct AllocatorTraits_CallMaxSize<T, bsl::void_t<decltype(bslmf::Util::declval<T>().max_size())>>;

Type Aliases

Name
SizeType

Static Member Functions

NameDescription
max_size Return the maximum size of the specified alloc. Also note that this method is defined inline to work around a Windows compiler bug with SFINAE functions.