$darkmode
#include <functional>#include <string>Go to the source code of this file.
Functions | |
| std::function< bool(double)> | cloe::utility::compile_evaluation (const std::string &s) |
| std::function< bool(double)> | cloe::utility::compile_evaluation (const std::string &op, double val) |
| std::function< bool(double)> cloe::utility::compile_evaluation | ( | const std::string & | s | ) |
Compile an evaluation string into a function that evaluates a single double.
For example:
An out_of_range error is thrown if the operator is not one of the following: ==, !=, <, <=, >, >=