|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Overload pattern. More...
#include <src/utils/variant_helpers.h>


Overload pattern.
Usage: auto result = std::visit (overload { [] (int x) { return x * 2; }, [] (const std::string &str) { return str.size (); }, [] (const std::vector<int> &vec) { return vec.size (); } }, var);
Definition at line 181 of file variant_helpers.h.