15 #ifndef Om_Language_Operation_FrontPullOperatorOperation_
23 #ifndef Om_Macro_Precompilation_
25 #include "boost/test/unit_test.hpp"
35 BOOST_AUTO_TEST_SUITE(FrontPullOperatorOperationTest)
37 BOOST_AUTO_TEST_CASE(DefinitionTest) {
40 System::Get().Evaluate(
"drop find {<-[operator...]} system")
44 BOOST_AUTO_TEST_CASE(GeneralTest) {
76 BOOST_AUTO_TEST_SUITE_END()
94 Om::Language::Operation::FrontPullOperatorOperation
98 inline char const * Type_::GetName() {
102 inline void Type_::Give(Evaluation & theEvaluation) {
103 theEvaluation.TakeOperation(
104 std::auto_ptr<IncompleteOperation>(
107 FrontPullOperatorOperation
113 template <
typename TheConsumer>
114 inline void Type_::Pull(
115 Literal & theLiteral,
116 TheConsumer & theConsumer
118 theLiteral.FrontGive<Operator>(theConsumer);
#define Om_Language_Operation_FrontPullOperatorOperation_GetName_()
std::auto_ptr< TheGiveable > Give(TheGiveable &)
Calls Move on the object.