\brief Returns the pure property for this function. Impure functions are those that may return different results for the same input arguments. For example, a function that returns a random number is not pure. An expression containing only pure functions can be simplified by pre-evaluating any sub-expressions that have constant arguments.
| 236 | /// not pure. An expression containing only pure functions can be simplified by |
| 237 | /// pre-evaluating any sub-expressions that have constant arguments. |
| 238 | virtual bool is_pure() const { return true; } |
| 239 | |
| 240 | protected: |
| 241 | Function(std::string name, Function::Kind kind, const Arity& arity, FunctionDoc doc, |
nothing calls this directly
no outgoing calls
no test coverage detected