catch2/docs
Martin Hořeňovský 1ca8f43b01 Add PredicateMatcher that takes an arbitrary predicate functions
Also adds `Predicate` helper function to create `PredicateMatcher`.
Because of limitations in type inference it needs to be explicitly
typed, like so
`Predicate<std::string>([](std::string const& str) { ... })`.
It also takes an optional second argument for description of the
predicate.

It is possible to infer the argument with sufficient TMP, see
https://stackoverflow.com/questions/43560492/how-to-extract-lambdas-return-type-and-variadic-parameters-pack-back-from-gener/43561563#43561563
but I don't think that the magic is worth introducing ATM.

Closes #1236
2018-04-04 11:14:19 +02:00
..
assertions.md Fixup various spelling errors (#1208) 2018-03-07 10:08:35 +01:00
build-systems.md Update CTest autodiscovery documentation 2018-01-12 12:28:14 +01:00
command-line.md Fixup various spelling errors (#1208) 2018-03-07 10:08:35 +01:00
commercial-users.md Let toplevel links to .md files link to .md#top 2017-08-24 19:40:36 +02:00
configuration.md Merge branch 'master' into master 2018-03-07 10:37:50 +01:00
contributing.md Let toplevel links to .md files link to .md#top 2017-08-24 19:40:36 +02:00
event-listeners.md Fixup various spelling errors (#1208) 2018-03-07 10:08:35 +01:00
limitations.md Add another known bug to limitations.md 2018-02-10 13:51:33 +01:00
list-of-examples.md Add list of examples to documentation 2017-11-15 15:37:39 +01:00
logging.md Let toplevel links to .md files link to .md#top 2017-08-24 19:40:36 +02:00
matchers.md Add PredicateMatcher that takes an arbitrary predicate functions 2018-04-04 11:14:19 +02:00
opensource-users.md Fixup various spelling errors (#1208) 2018-03-07 10:08:35 +01:00
own-main.md Fixup various spelling errors (#1208) 2018-03-07 10:08:35 +01:00
Readme.md Updated some Catch references to Catch2 2017-11-03 13:05:09 +00:00
release-notes.md v2.2.1 2018-03-11 12:04:28 +01:00
release-process.md Fixup various spelling errors (#1208) 2018-03-07 10:08:35 +01:00
reporters.md Let toplevel links to .md files link to .md#top 2017-08-24 19:40:36 +02:00
slow-compiles.md Change ToC script to use <br> instead of trailing spaces 2017-10-13 11:17:38 +02:00
test-cases-and-sections.md Update test-cases-and-sections.md 2017-10-31 14:28:30 +01:00
test-fixtures.md Add page titles 2017-08-24 22:56:27 +02:00
tostring.md Add Catch::is_range to documentation 2018-02-01 20:29:49 +01:00
tutorial.md Refer to example code from the Tutorial 2017-11-15 15:37:39 +01:00
why-catch.md Let toplevel links to .md files link to .md#top 2017-08-24 19:40:36 +02:00