Lines Matching defs:operator
73 // MatchResultListener is an abstract class. Its << operator can be
91 MatchResultListener& operator<<(const T& x) {
204 bool operator()(const A& a, const B& b) const { return a == b; }
208 bool operator()(const A& a, const B& b) const { return a != b; }
212 bool operator()(const A& a, const B& b) const { return a < b; }
216 bool operator()(const A& a, const B& b) const { return a > b; }
220 bool operator()(const A& a, const B& b) const { return a <= b; }
224 bool operator()(const A& a, const B& b) const { return a >= b; }
443 operator Matcher<T>() const {
519 // its conversion operator to create Matcher<T>. Or it can be a value
836 OutIter operator() (Func f, const Tup& t, OutIter out) const {
843 OutIter operator() (Func /* f */, const Tup& /* t */, OutIter out) const {
874 // conversion operator to make it appearing as a Matcher<T> for any
879 operator Matcher<T>() const { return A<T>(); }
888 // a template type conversion operator in the implementation.
897 operator Matcher<Lhs>() const {
1045 operator Matcher<Super&>() const {
1378 // etc). Therefore we use a template type conversion operator in the
1384 operator Matcher< ::testing::tuple<T1, T2> >() const {
1388 operator Matcher<const ::testing::tuple<T1, T2>&>() const {
1474 // This template type conversion operator allows Not(m) to be used
1477 operator Matcher<T>() const {
1613 // This template type conversion operator allows an
1617 operator Matcher<T>() const {
1643 // This template type conversion operator allows a
1647 operator Matcher<T>() const {
1738 // This template type conversion operator allows a
1742 operator Matcher<T>() const {
1773 // having no operator!().
1800 // This template operator() allows Matches(m) to be used as a
1807 bool operator()(const T& x) const {
1838 // This template () operator allows a PredicateFormatterFromMatcher
1842 AssertionResult operator()(const char* value_text, const T& x) const {
2016 operator Matcher<FloatType>() const {
2021 operator Matcher<const FloatType&>() const {
2026 operator Matcher<FloatType&>() const {
2047 // This type conversion operator template allows Pointee(m) to be
2056 operator Matcher<Pointer>() const {
2347 operator Matcher<T>() const {
2380 // Functors often define operator() as non-const method even though
2406 operator Matcher<Container>() const {
2458 operator Matcher<Container>() const {
2518 // Uses the container's const_iterator, value_type, operator ==,
2605 // A comparator functor that uses the < operator to compare two values.
2608 bool operator()(const T& lhs, const U& rhs) const { return lhs < rhs; }
2620 operator Matcher<LhsContainer>() const {
2710 operator Matcher<LhsContainer>() const {
2907 operator Matcher<Container>() const {
2924 operator Matcher<Container>() const {
2988 operator Matcher<PairType>() const {
3093 operator Matcher<PairType> () const {
3444 Matcher<Target> operator()(const Arg& a) const {
3457 operator Matcher<Container>() const {
3482 operator Matcher<Container>() const {
3511 operator Matcher<Container>() const {
3531 operator Matcher<Container>() const {
3558 operator Matcher<T>() const {
3565 // compiler cannot generate the operator= for us, as Tuple2Matcher
3570 void operator=(const BoundSecondMatcher& /*rhs*/) {
4169 // the < operator, matches container_matcher.