1 #ifndef MARISA_GRIMOIRE_ALGORITHM_H_ 2 #define MARISA_GRIMOIRE_ALGORITHM_H_ 3 4 #include "marisa/grimoire/algorithm/sort.h" 5 6 namespace marisa { 7 namespace grimoire { 8 9 class Algorithm { 10 public: Algorithm()11 Algorithm() {} 12 13 template <typename Iterator> sort(Iterator begin,Iterator end)14 std::size_t sort(Iterator begin, Iterator end) const { 15 return algorithm::sort(begin, end); 16 } 17 18 private: 19 Algorithm(const Algorithm &); 20 Algorithm &operator=(const Algorithm &); 21 }; 22 23 } // namespace grimoire 24 } // namespace marisa 25 26 #endif // MARISA_GRIMOIRE_ALGORITHM_H_ 27