API Reference
Defined in File match.hpp
Select a type based on a compile-time key.
Note
First-match wins: the earliest case_ with Key == K is chosen.
case_
Key == K
default_<T> sets the fallback if no earlier case matched. A later match still overrides the default (since it is “first-match wins”).
default_<T>
Key – The key to match against case_<K, T> alternatives.
case_<K, T>
Alts – Zero or more case_<K, T> and at most one default_<T>.
The chosen T as a type alias. If no case matches and no default_ is provided, the result is void.
T
default_
void