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

Static Public Member Functions

template<class _Ty , class _Objty >
static auto _Fn (int, _Ty &_Al, _Objty *_Ptr) -> decltype(_Al.destroy(_Ptr))
 
template<class _Ty , class _Objty >
static auto _Fn (_Wrap_int, _Ty &, _Objty *_Ptr) -> void
 

Member Function Documentation

template<class _Ty , class _Objty >
static auto _Alloc_destroy::_Fn ( int  ,
_Ty &  _Al,
_Objty *  _Ptr 
) -> decltype(_Al.destroy(_Ptr))
inlinestatic
361  { // call allocator supplied version
362  _Al.destroy(_Ptr);
363  }
template<class _Ty , class _Objty >
static auto _Alloc_destroy::_Fn ( _Wrap_int  ,
_Ty &  ,
_Objty *  _Ptr 
) -> void
inlinestatic
369  { // call default version
370  _Ptr->~_Objty();
371  }

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