We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d144031 + 7927f8e commit 35d0c36Copy full SHA for 35d0c36
googletest/include/gtest/gtest-matchers.h
@@ -67,10 +67,10 @@ namespace testing {
67
// To implement a matcher Foo for type T, define:
68
// 1. a class FooMatcherMatcher that implements the matcher interface:
69
// using is_gtest_matcher = void;
70
-// bool MatchAndExplain(const T&, std::ostream*);
+// bool MatchAndExplain(const T&, std::ostream*) const;
71
// (MatchResultListener* can also be used instead of std::ostream*)
72
-// void DescribeTo(std::ostream*);
73
-// void DescribeNegationTo(std::ostream*);
+// void DescribeTo(std::ostream*) const;
+// void DescribeNegationTo(std::ostream*) const;
74
//
75
// 2. a factory function that creates a Matcher<T> object from a
76
// FooMatcherMatcher.
0 commit comments