Searched refs:calculator_context (Results 1 – 6 of 6) sorted by relevance
30 struct calculator_context struct31 : proto::callable_context< calculator_context const >39 explicit calculator_context(double d1 = 0., double d2 = 0.) in calculator_context() function68 calculator_context const ctx; in BOOST_PROTO_EXTENDS_USING_ASSIGN() argument74 calculator_context const ctx(d1); in operator ()()80 calculator_context const ctx(d1, d2); in operator ()()
67 struct calculator_context struct68 : proto::callable_context< calculator_context const >76 explicit calculator_context(double d1 = 0., double d2 = 0.) in calculator_context() function111 calculator_context const ctx; in BOOST_PROTO_EXTENDS_USING_ASSIGN()119 calculator_context const ctx(d1); in operator ()()127 calculator_context const ctx(d1, d2); in operator ()()
22 struct calculator_context struct23 : proto::callable_context< calculator_context const >31 explicit calculator_context(double d1 = 0., double d2 = 0.) in calculator_context() argument49 calculator_context const ctx(d1, d2); in evaluate() argument
72 struct calculator_context73 : proto::callable_context< calculator_context const >79 // (This makes the calculator_context "callable".)90 In `calculator_context`, we specify how Proto should evaluate the placeholder101 calculator_context ctx;160 // our calculator_context.163 calculator_context ctx;
180 // The calculator_context from the "Hello Calculator" section,182 struct calculator_context240 // Evaluate an expression with a calculator_context241 calculator_context ctx;521 struct calculator_context522 : proto::callable_context< calculator_context const >539 `calculator_context` and a couple of appropriately defined placeholder551 calculator_context ctx;761 // our calculator_context.766 calculator_context ctx;[all …]
291 calculator_context ctx;311 …f `calculator<>::operator()`, we evaluate the expression with the `calculator_context` we defined …