Mpark Patterns Versions Save

This is an experimental library that has evolved to P1371, proposed for C++23.

v0.3.0

6 years ago

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

It determines whether a given value matches a pattern and, if it does, binds the desired portions of the value to a handler.


New Features

  • Introduce discarding identifiers.
  • Introduce the when clause.
  • Introduce lazy expressions

v0.2.0

6 years ago

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

It determines whether a given value matches a pattern and, if it does, binds the desired portions of the value to a handler.


New Features

  • Support named placeholder pattern.

v0.1.0

6 years ago

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

It determines whether a given value matches a pattern and, if it does, binds the desired portions of the value to a handler.