Skip to content

Conversation

@sentomk
Copy link

@sentomk sentomk commented Nov 11, 2025

Patternia brings Rust-style match expressions to C++ with a concise and expressive DSL:

match(cmd)
  .when(ci_value("start") >> "starting")
  .when(ci_value("stop")  >> "stopping")
  .otherwise("unknown");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant