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
302  : _Ty1(), _Myval2(_STD forward<_Other2>(_Val2)...)
303  { // construct from forwarded values
304  }
_Ty2 _Myval2
Definition: xutility:294
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
310  : _Ty1(_STD forward<_Other1>(_Val1)),
311  _Myval2(_STD forward<_Other2>(_Val2)...)
312  { // construct from forwarded values
313  }
_Ty2 _Myval2
Definition: xutility:294

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
317  { // return reference to first
318  return (*this);
319  }
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
322  { // return const reference to first
323  return (*this);
324  }
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
327  { // return volatile reference to first
328  return (*this);
329  }
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
332  { // return const volatile reference to first
333  return (*this);
334  }
template<class _Ty1, class _Ty2, bool = is_empty<_Ty1>::value && !is_final<_Ty1>::value>
_Ty2& _Compressed_pair< _Ty1, _Ty2, bool >::_Get_second ( )
inline
337  { // return reference to second
338  return (_Myval2);
339  }
_Ty2 _Myval2
Definition: xutility:294
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
342  { // return const reference to second
343  return (_Myval2);
344  }
_Ty2 _Myval2
Definition: xutility:294
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
347  { // return volatile reference to second
348  return (_Myval2);
349  }
_Ty2 _Myval2
Definition: xutility:294
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
352  { // return const volatile reference to second
353  return (_Myval2);
354  }
_Ty2 _Myval2
Definition: xutility:294

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: