#ifndef MARISA_GRIMOIRE_ALGORITHM_H_ | |
#define MARISA_GRIMOIRE_ALGORITHM_H_ | |
#include "marisa/grimoire/algorithm/sort.h" | |
namespace marisa { | |
namespace grimoire { | |
class Algorithm { | |
public: | |
Algorithm() {} | |
template <typename Iterator> | |
std::size_t sort(Iterator begin, Iterator end) const { | |
return algorithm::sort(begin, end); | |
} | |
private: | |
Algorithm(const Algorithm &); | |
Algorithm &operator=(const Algorithm &); | |
}; | |
} // namespace grimoire | |
} // namespace marisa | |
#endif // MARISA_GRIMOIRE_ALGORITHM_H_ |