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 _Other >
_Tuple_valoperator= (_Other &&_Right)
 
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
157  : _Val()
158  { // default construct
159  }
_Ty _Val
Definition: tuple:205
template<class _Ty>
template<class _Other >
constexpr _Tuple_val< _Ty >::_Tuple_val ( _Other &&  _Arg)
inline
163  : _Val(_STD forward<_Other>(_Arg))
164  { // construct with argument
165  }
_Ty _Val
Definition: tuple:205
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
179  : _Val(_STD forward<_Other>(_Arg)...)
180  { // construct with optional arguments, no allocator
181  }
_Ty _Val
Definition: tuple:205
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
190  : _Val(allocator_arg, _Al, _STD forward<_Other>(_Arg)...)
191  { // construct with optional arguments, leading allocator
192  }
constexpr allocator_arg_t allocator_arg
Definition: xutility:3834
_Ty _Val
Definition: tuple:205
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
201  : _Val(_STD forward<_Other>(_Arg)..., _Al)
202  { // construct with optional arguments, trailing allocator
203  }
_Ty _Val
Definition: tuple:205

Member Function Documentation

template<class _Ty>
template<class _Other >
_Tuple_val& _Tuple_val< _Ty >::operator= ( _Other &&  _Right)
inline
169  { // assign
170  _Val = _STD forward<_Other>(_Right);
171  return (*this);
172  }
_Ty _Val
Definition: tuple:205
constexpr const _Ty &() _Right
Definition: algorithm:3591

Member Data Documentation

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

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