|
allocator::max_sizepublic member function
size_type max_size() const throw(); Maximum size possible to allocate Returns the maximum number of elements of type T (the template parameter) that could be allocated by a call to member allocate.A call to member allocate with the value returned by this function can still fail to allocate the requested storage. ParametersnoneReturn valueThe number of elements of type T that might be allocated as maximum by a call to member allocate.In allocator, the member type size_type is an alias of size_t, which is an unsigned integral type.
|