WIP: Allow custom commands of multiple signatures
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