00001 #include "osl/container/moveVector.h" 00002 #include <boost/foreach.hpp> 00003 #include <algorithm> 00004 #include <iostream> 00005 00006 std::ostream& osl::container::operator<<(std::ostream& os,MoveVector const& mv) 00007 { 00008 os<< "MoveVector" << std::endl; 00009 BOOST_FOREACH(Move m, mv) { 00010 os << m << std::endl; 00011 } 00012 return os<<std::endl; 00013 } 00014 bool osl::container::operator<(const MoveVector& l, const MoveVector& r) 00015 { 00016 return std::lexicographical_compare(l.begin(), l.end(), 00017 r.begin(), r.end()); 00018 } 00019 00020 // ;;; Local Variables: 00021 // ;;; mode:c++ 00022 // ;;; c-basic-offset:2 00023 // ;;; End: