Home
last modified time | relevance | path

Searched refs:calculator_context (Results 1 – 6 of 6) sorted by relevance

/third_party/boost/libs/proto/example/
Dcalc2.cpp30 struct calculator_context struct
31 : proto::callable_context< calculator_context const >
39 explicit calculator_context(double d1 = 0., double d2 = 0.) in calculator_context() function
68 calculator_context const ctx; in BOOST_PROTO_EXTENDS_USING_ASSIGN() argument
74 calculator_context const ctx(d1); in operator ()()
80 calculator_context const ctx(d1, d2); in operator ()()
Dcalc3.cpp67 struct calculator_context struct
68 : proto::callable_context< calculator_context const >
76 explicit calculator_context(double d1 = 0., double d2 = 0.) in calculator_context() function
111 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 ()()
Dcalc1.cpp22 struct calculator_context struct
23 : proto::callable_context< calculator_context const >
31 explicit calculator_context(double d1 = 0., double d2 = 0.) in calculator_context() argument
49 calculator_context const ctx(d1, d2); in evaluate() argument
/third_party/boost/libs/proto/doc/
Dcalculator.qbk72 struct calculator_context
73 : proto::callable_context< calculator_context const >
79 // (This makes the calculator_context "callable".)
90 In `calculator_context`, we specify how Proto should evaluate the placeholder
101 calculator_context ctx;
160 // our calculator_context.
163 calculator_context ctx;
Dback_end.qbk180 // The calculator_context from the "Hello Calculator" section,
182 struct calculator_context
240 // Evaluate an expression with a calculator_context
241 calculator_context ctx;
521 struct calculator_context
522 : proto::callable_context< calculator_context const >
539 `calculator_context` and a couple of appropriately defined placeholder
551 calculator_context ctx;
761 // our calculator_context.
766 calculator_context ctx;
[all …]
Dfront_end.qbk291 calculator_context ctx;
311 …f `calculator<>::operator()`, we evaluate the expression with the `calculator_context` we defined …