STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Types | Private Attributes | List of all members
_Compressed_pair< _Ty1, _Ty2, bool > Class Template Referencefinal
Inheritance diagram for _Compressed_pair< _Ty1, _Ty2, bool >:

Public Member Functions

template<class... _Other2>
constexpr _Compressed_pair (_Zero_then_variadic_args_t, _Other2 &&..._Val2)
 
template<class _Other1 , class... _Other2>
 _Compressed_pair (_One_then_variadic_args_t, _Other1 &&_Val1, _Other2 &&..._Val2)
 
_Ty1 & _Get_first () _NOEXCEPT
 
const _Ty1 & _Get_first () const _NOEXCEPT
 
volatile _Ty1 & _Get_first () volatile _NOEXCEPT
 
const volatile _Ty1 & _Get_first () const volatile _NOEXCEPT
 
_Ty2 & _Get_second () _NOEXCEPT
 
const _Ty2 & _Get_second () const _NOEXCEPT
 
volatile _Ty2 & _Get_second () volatile _NOEXCEPT
 
const volatile _Ty2 & _Get_second () const volatile _NOEXCEPT
 

Private Types

typedef _Ty1 _Mybase
 

Private Attributes

_Ty2 _Myval2
 

Member Typedef Documentation

template<class _Ty1, class _Ty2, bool = is_empty<_Ty1>::value && !is_final<_Ty1>::value>
typedef _Ty1 _Compressed_pair< _Ty1, _Ty2, bool >::_Mybase
private

Constructor & Destructor Documentation

template<class _Ty1, class _Ty2, bool = is_empty<_Ty1>::value && !is_final<_Ty1>::value>
template<class... _Other2>
constexpr _Compressed_pair< _Ty1, _Ty2, bool >::_Compressed_pair ( _Zero_then_variadic_args_t  ,
_Other2 &&...  _Val2 
)
inlineexplicit
279  : _Ty1(), _Myval2(_STD forward<_Other2>(_Val2)...)
280  { // construct from forwarded values
281  }
_Ty2 _Myval2
Definition: xutility:271
template<class _Ty1, class _Ty2, bool = is_empty<_Ty1>::value && !is_final<_Ty1>::value>
template<class _Other1 , class... _Other2>
_Compressed_pair< _Ty1, _Ty2, bool >::_Compressed_pair ( _One_then_variadic_args_t  ,
_Other1 &&  _Val1,
_Other2 &&...  _Val2 
)
inline
287  : _Ty1(_STD forward<_Other1>(_Val1)),
288  _Myval2(_STD forward<_Other2>(_Val2)...)
289  { // construct from forwarded values
290  }
_Ty2 _Myval2
Definition: xutility:271

Member Function Documentation

template<class _Ty1, class _Ty2, bool = is_empty<_Ty1>::value && !is_final<_Ty1>::value>
_Ty1& _Compressed_pair< _Ty1, _Ty2, bool >::_Get_first ( )
inline
294  { // return reference to first
295  return (*this);
296  }
template<class _Ty1, class _Ty2, bool = is_empty<_Ty1>::value && !is_final<_Ty1>::value>
const _Ty1& _Compressed_pair< _Ty1, _Ty2, bool >::_Get_first ( ) const
inline
299  { // return const reference to first
300  return (*this);
301  }
template<class _Ty1, class _Ty2, bool = is_empty<_Ty1>::value && !is_final<_Ty1>::value>
volatile _Ty1& _Compressed_pair< _Ty1, _Ty2, bool >::_Get_first ( ) volatile
inline
304  { // return volatile reference to first
305  return (*this);
306  }
template<class _Ty1, class _Ty2, bool = is_empty<_Ty1>::value && !is_final<_Ty1>::value>
const volatile _Ty1& _Compressed_pair< _Ty1, _Ty2, bool >::_Get_first ( ) const volatile
inline
309  { // return const volatile reference to first
310  return (*this);
311  }
template<class _Ty1, class _Ty2, bool = is_empty<_Ty1>::value && !is_final<_Ty1>::value>
_Ty2& _Compressed_pair< _Ty1, _Ty2, bool >::_Get_second ( )
inline
314  { // return reference to second
315  return (_Myval2);
316  }
_Ty2 _Myval2
Definition: xutility:271
template<class _Ty1, class _Ty2, bool = is_empty<_Ty1>::value && !is_final<_Ty1>::value>
const _Ty2& _Compressed_pair< _Ty1, _Ty2, bool >::_Get_second ( ) const
inline
319  { // return const reference to second
320  return (_Myval2);
321  }
_Ty2 _Myval2
Definition: xutility:271
template<class _Ty1, class _Ty2, bool = is_empty<_Ty1>::value && !is_final<_Ty1>::value>
volatile _Ty2& _Compressed_pair< _Ty1, _Ty2, bool >::_Get_second ( ) volatile
inline
324  { // return volatile reference to second
325  return (_Myval2);
326  }
_Ty2 _Myval2
Definition: xutility:271
template<class _Ty1, class _Ty2, bool = is_empty<_Ty1>::value && !is_final<_Ty1>::value>
const volatile _Ty2& _Compressed_pair< _Ty1, _Ty2, bool >::_Get_second ( ) const volatile
inline
329  { // return const volatile reference to second
330  return (_Myval2);
331  }
_Ty2 _Myval2
Definition: xutility:271

Member Data Documentation

template<class _Ty1, class _Ty2, bool = is_empty<_Ty1>::value && !is_final<_Ty1>::value>
_Ty2 _Compressed_pair< _Ty1, _Ty2, bool >::_Myval2
private

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