Skip to content

Function cmatch

function cmatch(T &&, Fn &&, Args...) meta

template <typename T, typename Fn, typename... Args>
KFR_INTRINSIC constexpr decltype(auto) cmatch(T&& value, Fn&& fn, Args... args) { … }

Template parameters
T type of the value being dispatched
Parameters
fn first candidate callable
args remaining candidate callables (last one is the fallback)

Fully qualified name: kfr::cmatch(T &&, Fn &&, Args...)

Declared at meta.hpp:1446

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.