15 #ifndef Om_Language_Operation_FrontPullPairOperation_
21 #ifndef Om_Macro_Precompilation_
23 #include "boost/test/unit_test.hpp"
33 BOOST_AUTO_TEST_SUITE(FrontPullPairOperationTest)
35 BOOST_AUTO_TEST_CASE(DefinitionTest) {
38 System::Get().Evaluate(
"drop find {<-[pairs]} system")
42 BOOST_AUTO_TEST_CASE(GeneralTest) {
79 BOOST_AUTO_TEST_CASE(FlushTest) {
86 BOOST_AUTO_TEST_SUITE_END()
104 Om::Language::Operation::FrontPullPairOperation
108 inline char const * Type_::GetName() {
112 inline void Type_::Give(Evaluation & theEvaluation) {
113 theEvaluation.TakeOperation(
114 std::auto_ptr<IncompleteOperation>(
117 FrontPullPairOperation
123 template <
typename TheConsumer>
124 inline void Type_::Pull(
125 Lexicon & theLexicon,
126 TheConsumer & theConsumer
128 theLexicon.FrontGivePair(theConsumer);
#define Om_Language_Operation_FrontPullPairOperation_GetName_()
std::auto_ptr< TheGiveable > Give(TheGiveable &)
Calls Move on the object.