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

 _Tuple_val ()
 
template<class _Other >
 _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 >
_Tuple_val< _Ty >::_Tuple_val ( )
inline
73  : _Val()
74  { // default construct
75  }
_Ty _Val
Definition: tuple:122
template<class _Ty >
template<class _Other >
_Tuple_val< _Ty >::_Tuple_val ( _Other &&  _Arg)
inline
79  : _Val(_STD forward<_Other>(_Arg))
80  { // construct with argument
81  }
_Ty _Val
Definition: tuple:122
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
95  : _Val(_STD forward<_Other>(_Arg)...)
96  { // construct with optional arguments, no allocator
97  }
_Ty _Val
Definition: tuple:122
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
106  : _Val(allocator_arg, _Al, _STD forward<_Other>(_Arg)...)
107  { // construct with optional arguments, leading allocator
108  }
_Ty _Val
Definition: tuple:122
const allocator_arg_t allocator_arg
Definition: xutility:3451
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
117  : _Val(_STD forward<_Other>(_Arg)..., _Al)
118  { // construct with optional arguments, trailing allocator
119  }
_Ty _Val
Definition: tuple:122

Member Function Documentation

template<class _Ty >
template<class _Other >
_Tuple_val& _Tuple_val< _Ty >::operator= ( _Other &&  _Right)
inline
85  { // assign
86  _Val = _STD forward<_Other>(_Right);
87  return (*this);
88  }
_Ty _Val
Definition: tuple:122
const _Ty & _Right
Definition: algorithm:4087

Member Data Documentation

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

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