Googletest export

Add missing `is_gtest_matcher` to the polymorphic matcher example.

PiperOrigin-RevId: 353881883
pull/3253/head
Abseil Team 4 years ago committed by CJ Johnson
parent 8a7618672a
commit 273f8cb059
  1. 2
      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.

Loading…
Cancel
Save