Registry / utility / mpark-patterns

mpark-patterns

JSON →
library2019-10-03vcpkgunverified

MPark.Patterns is an experimental pattern matching library for C++17.

vcpkg install mpark-patterns
INSTALL
IMPORT
SIG · MPARK-PATTERNS
M
mpark-patterns
utilitycppv2019-10-03
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mpark/patterns.hpp
#include <mpark/patterns.hpp>

Basic pattern matching example

#include <mpark/patterns.hpp> int main() { using namespace mpark::patterns; int x = 42; match(x)( pattern(42) = [] { return true; }, pattern(_) = [] { return false; } ); return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2019-10-03latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources

No resource links recorded.

mpark-patterns — pip install mpark-patterns · libregistry