Skip to content

WIP: Allow custom commands of multiple signatures

Enrico Gamberini requested to merge feat-variant-cmd into develop

Builds upon !43 (merged). Allows registration of custom commands with the signatures: void(), void(int) and void(std::string). Binding callable functions to the std::variant now used for the implementation requires std::bind_front from C++20. std::bind_front also drops the requirement for placeholder arguments.

Edited by Enrico Gamberini

Merge request reports