I'm trying to run this code:
exprtk::parser<bool> parser;
exprtk::expression<bool> expression;
parser.compile("5 > 6", expression);
std::cout << expression.value() << "\n";
But I get this error:
'exprtk::expression<T>::operator T(void) const': member function already defined or declared
On VS 2019. This doesn't happen when I use other data types. Is this a bug or am I doing something wrong?
From the documentation:
bool
is not a floating-point type.