15 #ifndef Om_Sink_IteratorSink_
26 typename ThisIterator \
30 Om::Sink::IteratorSink< \
38 inline Type_::IteratorSink(ThisIterator theIterator):
39 thisIterator(theIterator) {}
42 inline Type_ & Type_::operator =(IteratorSink theIteratorSink) {
43 this->Swap(theIteratorSink);
48 inline void Type_::Push(ThisItem & theItem) {
49 *this->thisIterator++ = theItem;
53 inline void Type_::Swap(IteratorSink & theIteratorSink) {
56 theIteratorSink.thisIterator
79 theFirst.Swap(theSecond);
A Sink adapter for an output iterator.
void swap(Om::Language::Expression &, Om::Language::Expression &)