commit | 273f8cb059a4e7b089731036392422b5ef489791 | [log] [tgz] |
---|---|---|
author | Abseil Team <absl-team@google.com> | Tue Jan 26 12:25:25 2021 -0500 |
committer | CJ Johnson <johnsoncj@google.com> | Tue Jan 26 15:43:54 2021 -0500 |
tree | 89efc41f76befb180833c50923b35bb13b4572cb | |
parent | 8a7618672a4ddd576a4e0feba2e3597c3b602434 [diff] |
Googletest export Add missing `is_gtest_matcher` to the polymorphic matcher example. PiperOrigin-RevId: 353881883
diff --git a/docs/gmock_cook_book.md b/docs/gmock_cook_book.md index de3464d..208ca9a 100644 --- a/docs/gmock_cook_book.md +++ b/docs/gmock_cook_book.md
@@ -3627,6 +3627,8 @@ class NotNullMatcher { public: + using is_gtest_matcher = void; + // To implement a polymorphic matcher, we just need to make MatchAndExplain a // template on its first argument.