Found 2 packages
The C++ Mathematical Expression Toolkit Library (ExprTk) is a simple to use, easy to integrate and extremely efficient run-time mathematical expression parsing and evaluation engine. The parsing engine supports numerous forms of functional and logic processing semantics and is easily extendible. https://www.partow.net/programming/exprtk/index.html
The C++ Mathematical Expression Toolkit Library (ExprTk) Extra Examples https://www.partow.net/programming/exprtk/index.html