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

Public Member Functions

template<class _Idx , class _Ty >
_CONSTEXPR14 bool operator() (_Idx, const _Ty &_Right) const
 

Public Attributes

const variant< _Types...> & _Left
 

Member Function Documentation

template<template< class...> class _Op, class... _Types>
template<class _Idx , class _Ty >
_CONSTEXPR14 bool _Variant_relop_visitor< _Op, _Types >::operator() ( _Idx  ,
const _Ty &  _Right 
) const
inline
1520  {
1521  using _CmpTy = remove_cv_t<remove_reference_t<_Meta_at<_Meta_list<_Types...>, _Idx>>>;
1522  return (_Op<_CmpTy>{}(_Variant_raw_get<_Idx::value>(_Left._Storage()).get(), _Right.get()));
1523  }
typename _Meta_at_< _List, _Idx::value >::type _Meta_at
Definition: variant:189
const variant< _Types...> & _Left
Definition: variant:1515
Definition: variant:50
typename remove_reference< _Ty >::type remove_reference_t
Definition: type_traits:2060
typename remove_cv< _Ty >::type remove_cv_t
Definition: type_traits:2048
constexpr const _Ty &() _Right
Definition: algorithm:3723

Member Data Documentation

template<template< class...> class _Op, class... _Types>
const variant<_Types...>& _Variant_relop_visitor< _Op, _Types >::_Left

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