MCPcopy Create free account
hub / github.com/boostorg/parser / evaluate

Method evaluate

test/github_issues.cpp:649–652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647 {
648 explicit parenthesized_evaluatable(std::unique_ptr<evaluatable>&& e) : evaluatable_(std::move(e)) {}
649 double evaluate() override
650 {
651 return evaluatable_->evaluate();
652 }
653 std::unique_ptr<evaluatable> evaluatable_;
654 };
655 constexpr bp::rule<struct parenthesized_tag, std::unique_ptr<evaluatable>> parenthesized_parser = "parenthesized_parser";

Callers

nothing calls this directly

Calls 1

evaluateMethod · 0.45

Tested by

no test coverage detected