I want to have a function that evaluates 2 bool vars (like a truth table)
for example:
since
T | F : T
then
myfunc(\'t\', \'f
Declare:
template bool myfunc(char lv, char rv, Func func);
Or if you need to link it separately:
bool myfunc(char lv, char rv, std::function func);
Then you can call:
myfunc('t', 'f', std::logical_or());