STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | List of all members
_Alloc_max_size Struct Reference

Static Public Member Functions

template<class _Ty >
static auto _Fn (int, const _Ty &_Al) -> decltype(_Al.max_size())
 
template<class _Ty >
static auto _Fn (_Wrap_int, const _Ty &) -> typename _Get_size_type< _Ty >::type
 

Member Function Documentation

template<class _Ty >
static auto _Alloc_max_size::_Fn ( int  ,
const _Ty &  _Al 
) -> decltype(_Al.max_size())
inlinestatic
380  { // call allocator supplied version
381  return (_Al.max_size());
382  }
template<class _Ty >
static auto _Alloc_max_size::_Fn ( _Wrap_int  ,
const _Ty &   
) -> typename _Get_size_type<_Ty>::type
inlinestatic
387  { // call default version
388  return ((numeric_limits<typename _Get_size_type<_Ty>::type>::max)());
389  }
#define max(a, b)
Definition: minmax.h:19
Definition: limits:79

The documentation for this struct was generated from the following file: