Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::BothOfMatcher< Matcher1, Matcher2 > Class Template Reference

#include <gmock-matchers.h>

Public Member Functions

 BothOfMatcher (Matcher1 matcher1, Matcher2 matcher2)
 
template<typename T >
 operator Matcher< T > () const
 

Detailed Description

template<typename Matcher1, typename Matcher2>
class testing::internal::BothOfMatcher< Matcher1, Matcher2 >

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

Constructor & Destructor Documentation

◆ BothOfMatcher()

template<typename Matcher1 , typename Matcher2 >
testing::internal::BothOfMatcher< Matcher1, Matcher2 >::BothOfMatcher ( Matcher1 matcher1,
Matcher2 matcher2 )
inline

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

1832 : matcher1_(matcher1), matcher2_(matcher2) {}

Member Function Documentation

◆ operator Matcher< T >()

template<typename Matcher1 , typename Matcher2 >
template<typename T >
testing::internal::BothOfMatcher< Matcher1, Matcher2 >::operator Matcher< T > ( ) const
inline

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

1838 {
1839 std::vector<Matcher<T> > values;
1840 values.push_back(SafeMatcherCast<T>(matcher1_));
1841 values.push_back(SafeMatcherCast<T>(matcher2_));
1842 return Matcher<T>(new AllOfMatcherImpl<T>(internal::move(values)));
1843 }
GeneratorWrapper< T > values(std::initializer_list< T > values)
const T & move(const T &t)
Matcher< T > SafeMatcherCast(const M &polymorphic_matcher)
Here is the call graph for this function:

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