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) _NOEXCEPT-> decltype(_Al.max_size())
 
template<class _Ty >
static auto _Fn (_Wrap_int, const _Ty &) _NOEXCEPT-> 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
518  { // call allocator supplied version
519  return (_Al.max_size());
520  }
template<class _Ty >
static auto _Alloc_max_size::_Fn ( _Wrap_int  ,
const _Ty &   
) -> typename _Get_size_type<_Ty>::type
inlinestatic
525  { // call default version
526  return ((numeric_limits<typename _Get_size_type<_Ty>::type>::max)()
527  / sizeof(typename _Ty::value_type));
528  }
constexpr const _Ty &() max(const _Ty &_Left, const _Ty &_Right, _Pr _Pred) _NOEXCEPT_OP(_NOEXCEPT_OP(_DEBUG_LT_PRED(_Pred
Definition: limits:101

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