Electroneum
testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher > Class Template Reference

#include <gmock-matchers.h>

Classes

class  Impl
 

Public Member Functions

 WhenSortedByMatcher (const Comparator &comparator, const ContainerMatcher &matcher)
 
template<typename LhsContainer >
 operator Matcher< LhsContainer > () const
 

Detailed Description

template<typename Comparator, typename ContainerMatcher>
class testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >

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

Constructor & Destructor Documentation

◆ WhenSortedByMatcher()

template<typename Comparator, typename ContainerMatcher>
testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::WhenSortedByMatcher ( const Comparator &  comparator,
const ContainerMatcher &  matcher 
)
inline

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

2617  : comparator_(comparator), matcher_(matcher) {}

Member Function Documentation

◆ operator Matcher< LhsContainer >()

template<typename Comparator, typename ContainerMatcher>
template<typename LhsContainer >
testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::operator Matcher< LhsContainer > ( ) const
inline

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

2620  {
2621  return MakeMatcher(new Impl<LhsContainer>(comparator_, matcher_));
2622  }
Matcher< T > MakeMatcher(const MatcherInterface< T > *impl)
Here is the call graph for this function:

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