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