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

Static Public Member Functions

template<class _Ty , class _Objty , class... _Types>
static auto _Fn (int, _Ty &_Al, _Objty *_Ptr, _Types &&..._Args) -> decltype(_Al.construct(_Ptr, _STD forward< _Types >(_Args)...))
 
template<class _Ty , class _Objty , class... _Types>
static auto _Fn (_Wrap_int, _Ty &, _Objty *_Ptr, _Types &&..._Args) -> void
 

Member Function Documentation

template<class _Ty , class _Objty , class... _Types>
static auto _Alloc_construct::_Fn ( int  ,
_Ty &  _Al,
_Objty *  _Ptr,
_Types &&...  _Args 
) -> decltype( _Al.construct(_Ptr, _STD forward<_Types>(_Args)...))
inlinestatic
337  { // call allocator supplied version
338  _Al.construct(_Ptr, _STD forward<_Types>(_Args)...);
339  }
template<class _Ty , class _Objty , class... _Types>
static auto _Alloc_construct::_Fn ( _Wrap_int  ,
_Ty &  ,
_Objty *  _Ptr,
_Types &&...  _Args 
) -> void
inlinestatic
347  { // call default version
348  ::new (static_cast<void *>(_Ptr))
349  _Objty(_STD forward<_Types>(_Args)...);
350  }

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