15 #ifndef Om_Language_Operation_BackPullOperandOperation_
23 #ifndef Om_Macro_Precompilation_
25 #include "boost/test/unit_test.hpp"
35 BOOST_AUTO_TEST_SUITE(BackPullOperandOperationTest)
37 BOOST_AUTO_TEST_CASE(DefinitionTest) {
40 System::Get().Evaluate(
"drop find {[...operand]->} system")
44 BOOST_AUTO_TEST_CASE(GeneralTest) {
71 BOOST_AUTO_TEST_SUITE_END()
89 Om::Language::Operation::BackPullOperandOperation
93 inline char const * Type_::GetName() {
97 inline void Type_::Give(Evaluation & theEvaluation) {
98 theEvaluation.TakeOperation(
99 std::auto_ptr<IncompleteOperation>(
102 BackPullOperandOperation
108 template <
typename TheConsumer>
109 inline void Type_::Pull(
110 Literal & theLiteral,
111 TheConsumer & theConsumer
113 theLiteral.BackGive<Operand>(theConsumer);
#define Om_Language_Operation_BackPullOperandOperation_GetName_()
std::auto_ptr< TheGiveable > Give(TheGiveable &)
Calls Move on the object.