Googletest export

Add missing `is_gtest_matcher` to the polymorphic matcher example.

PiperOrigin-RevId: 353881883
This commit is contained in:
Abseil Team 2021-01-26 12:25:25 -05:00 committed by CJ Johnson
parent 8a7618672a
commit 273f8cb059

View File

@ -3627,6 +3627,8 @@ as adding templates in the right place.
class NotNullMatcher { class NotNullMatcher {
public: public:
using is_gtest_matcher = void;
// To implement a polymorphic matcher, we just need to make MatchAndExplain a // To implement a polymorphic matcher, we just need to make MatchAndExplain a
// template on its first argument. // template on its first argument.