00001 #ifndef _MOVE_ORDER_MOVESORTER_H
00002 #define _MOVE_ORDER_MOVESORTER_H
00003
00004 #include "osl/container/moveVector.h"
00005 #include <algorithm>
00006
00007 namespace osl
00008 {
00009 namespace move_order
00010 {
00011 struct MoveSorter
00012 {
00013 template <class Compare>
00014 static void sort(MoveVector& moves, const Compare& comp)
00015 {
00016 std::sort(moves.begin(), moves.end(), comp);
00017 }
00018 };
00019 }
00020 }
00021
00022 #endif
00023 // ;;; Local Variables:
00024
00025
00026