1
0
mirror of https://github.com/catchorg/Catch2.git synced 2025-03-09 21:24:46 +01:00
melak47 17c4b2d093
Feature: generic matchers ()
This commit extends the Matchers feature with the ability to have type-independent (e.g. templated) matchers. This is done by adding a new base type that Matchers can extend, `MatcherGenericBase`, and overloads of operators `!`, `&&` and `||` that handle matchers extending `MatcherGenericBase` in a special manner.

These new matchers can also take their arguments as values and non-const references.

Closes  
Closes  
Closes  

Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com>
2020-02-16 11:19:10 +01:00
..