STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
_Tuple_val< _Ty > Struct Template Reference

Public Member Functions

constexpr _Tuple_val ()
 
template<class _Other >
constexpr _Tuple_val (_Other &&_Arg)
 
template<class _Alloc , class... _Other>
 _Tuple_val (const _Alloc &, typename enable_if<!uses_allocator< _Ty, _Alloc >::value, _Tuple_alloc_t >::type, _Other &&..._Arg)
 
template<class _Alloc , class... _Other>
 _Tuple_val (const _Alloc &_Al, typename enable_if< uses_allocator< _Ty, _Alloc >::value &&is_constructible< _Ty, allocator_arg_t, _Alloc >::value, _Tuple_alloc_t >::type, _Other &&..._Arg)
 
template<class _Alloc , class... _Other>
 _Tuple_val (const _Alloc &_Al, typename enable_if< uses_allocator< _Ty, _Alloc >::value &&!is_constructible< _Ty, allocator_arg_t, _Alloc >::value, _Tuple_alloc_t >::type, _Other &&..._Arg)
 

Public Attributes

_Ty _Val
 

Constructor & Destructor Documentation

template<class _Ty>
constexpr _Tuple_val< _Ty >::_Tuple_val ( )
inline
158  : _Val()
159  { // default construct
160  }
_Ty _Val
Definition: tuple:199
template<class _Ty>
template<class _Other >
constexpr _Tuple_val< _Ty >::_Tuple_val ( _Other &&  _Arg)
inline
164  : _Val(_STD forward<_Other>(_Arg))
165  { // construct with argument
166  }
_Ty _Val
Definition: tuple:199
template<class _Ty>
template<class _Alloc , class... _Other>
_Tuple_val< _Ty >::_Tuple_val ( const _Alloc &  ,
typename enable_if<!uses_allocator< _Ty, _Alloc >::value, _Tuple_alloc_t >::type  ,
_Other &&...  _Arg 
)
inline
173  : _Val(_STD forward<_Other>(_Arg)...)
174  { // construct with optional arguments, no allocator
175  }
_Ty _Val
Definition: tuple:199
template<class _Ty>
template<class _Alloc , class... _Other>
_Tuple_val< _Ty >::_Tuple_val ( const _Alloc &  _Al,
typename enable_if< uses_allocator< _Ty, _Alloc >::value &&is_constructible< _Ty, allocator_arg_t, _Alloc >::value, _Tuple_alloc_t >::type  ,
_Other &&...  _Arg 
)
inline
184  : _Val(allocator_arg, _Al, _STD forward<_Other>(_Arg)...)
185  { // construct with optional arguments, leading allocator
186  }
constexpr allocator_arg_t allocator_arg
Definition: xutility:3777
_Ty _Val
Definition: tuple:199
template<class _Ty>
template<class _Alloc , class... _Other>
_Tuple_val< _Ty >::_Tuple_val ( const _Alloc &  _Al,
typename enable_if< uses_allocator< _Ty, _Alloc >::value &&!is_constructible< _Ty, allocator_arg_t, _Alloc >::value, _Tuple_alloc_t >::type  ,
_Other &&...  _Arg 
)
inline
195  : _Val(_STD forward<_Other>(_Arg)..., _Al)
196  { // construct with optional arguments, trailing allocator
197  }
_Ty _Val
Definition: tuple:199

Member Data Documentation

template<class _Ty>
_Ty _Tuple_val< _Ty >::_Val

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