diff options
author | Abseil Team <absl-team@google.com> | 2021-01-26 12:25:25 -0500 |
---|---|---|
committer | CJ Johnson <johnsoncj@google.com> | 2021-01-26 15:43:54 -0500 |
commit | 273f8cb059a4e7b089731036392422b5ef489791 (patch) | |
tree | 89efc41f76befb180833c50923b35bb13b4572cb /docs/gmock_cook_book.md | |
parent | 8a7618672a4ddd576a4e0feba2e3597c3b602434 (diff) | |
download | googletest-273f8cb059a4e7b089731036392422b5ef489791.zip googletest-273f8cb059a4e7b089731036392422b5ef489791.tar.gz googletest-273f8cb059a4e7b089731036392422b5ef489791.tar.bz2 |
Googletest export
Add missing `is_gtest_matcher` to the polymorphic matcher example.
PiperOrigin-RevId: 353881883
Diffstat (limited to 'docs/gmock_cook_book.md')
-rw-r--r-- | docs/gmock_cook_book.md | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ as adding templates in the right place. 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. |