Revision 1ca8f43b011ad61f4627a3339333406f15a46431 authored by Martin Hořeňovský on 03 April 2018, 21:28:14 UTC, committed by Martin Hořeňovský on 04 April 2018, 09:14:19 UTC
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
1 parent dfb83f2
File | Mode | Size |
---|---|---|
.github | ||
CMake | ||
artwork | ||
contrib | ||
docs | ||
examples | ||
include | ||
misc | ||
projects | ||
scripts | ||
single_include | ||
test_package | ||
third_party | ||
.gitattributes | -rw-r--r-- | 610 bytes |
.gitignore | -rw-r--r-- | 478 bytes |
.travis.yml | -rw-r--r-- | 6.2 KB |
CMakeLists.txt | -rw-r--r-- | 19.9 KB |
CODE_OF_CONDUCT.md | -rw-r--r-- | 3.1 KB |
LICENSE.txt | -rw-r--r-- | 1.3 KB |
README.md | -rw-r--r-- | 2.0 KB |
appveyor.yml | -rw-r--r-- | 2.6 KB |
catch.pc.in | -rw-r--r-- | 165 bytes |
codecov.yml | -rw-r--r-- | 411 bytes |
conanfile.py | -rw-r--r-- | 612 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...