You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
517 B
27 lines
517 B
#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_
|