15 #ifndef Om_Language_Operation_FrontPullElementOperation_
21 #ifndef Om_Macro_Precompilation_
23 #include "boost/test/unit_test.hpp"
33 BOOST_AUTO_TEST_SUITE(FrontPullElementOperationTest)
35 BOOST_AUTO_TEST_CASE(DefinitionTest) {
38 System::Get().Evaluate(
"drop find {<-[...]} system")
42 BOOST_AUTO_TEST_CASE(GeneralTest) {
69 BOOST_AUTO_TEST_SUITE_END()
87 Om::Language::Operation::FrontPullElementOperation
91 inline char const * Type_::GetName() {
95 inline void Type_::Give(Evaluation & theEvaluation) {
96 theEvaluation.TakeOperation(
97 std::auto_ptr<IncompleteOperation>(
100 FrontPullElementOperation
106 template <
typename TheConsumer>
107 inline void Type_::Pull(
108 Literal & theLiteral,
109 TheConsumer & theConsumer
111 theLiteral.FrontGiveElement(theConsumer);
#define Om_Language_Operation_FrontPullElementOperation_GetName_()
std::auto_ptr< TheGiveable > Give(TheGiveable &)
Calls Move on the object.