15 #ifndef Om_Sink_ContainerFrontSink_
26 typename ThisContainer \
30 Om::Sink::ContainerFrontSink< \
38 inline Type_::ContainerFrontSink(ThisContainer & theContainer):
39 thisContainer(theContainer) {}
42 inline Type_ & Type_::operator =(ContainerFrontSink theContainerFrontSink) {
43 this->Swap(theContainerFrontSink);
48 inline void Type_::Push(ThisItem & thisItem) {
49 this->thisContainer.push_front(thisItem);
53 inline void Type_::Swap(ContainerFrontSink & theContainerFrontSink) {
56 theContainerFrontSink.thisContainer
79 theFirst.Swap(theSecond);
A Sink adapter for a container; pushes items into the front.
void swap(Om::Language::Expression &, Om::Language::Expression &)