Electroneum
testing::internal::ComparisonBase< D, Rhs, Op > Class Template Reference

#include <gmock-matchers.h>

Public Member Functions

 ComparisonBase (const Rhs &rhs)
 
template<typename Lhs >
 operator Matcher< Lhs > () const
 

Detailed Description

template<typename D, typename Rhs, typename Op>
class testing::internal::ComparisonBase< D, Rhs, Op >

Definition at line 893 of file gmock-matchers.h.

Constructor & Destructor Documentation

◆ ComparisonBase()

template<typename D, typename Rhs, typename Op>
testing::internal::ComparisonBase< D, Rhs, Op >::ComparisonBase ( const Rhs &  rhs)
inlineexplicit

Definition at line 895 of file gmock-matchers.h.

895 : rhs_(rhs) {}

Member Function Documentation

◆ operator Matcher< Lhs >()

template<typename D, typename Rhs, typename Op>
template<typename Lhs >
testing::internal::ComparisonBase< D, Rhs, Op >::operator Matcher< Lhs > ( ) const
inline

Definition at line 897 of file gmock-matchers.h.

897  {
898  return MakeMatcher(new Impl<Lhs>(rhs_));
899  }
Matcher< T > MakeMatcher(const MatcherInterface< T > *impl)

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