aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/marisa-trie/marisa/grimoire/algorithm.h
blob: 71baec34ac9beaa63e00d6bc4e468c2101842159 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
#ifndef MARISA_GRIMOIRE_ALGORITHM_H_
#define MARISA_GRIMOIRE_ALGORITHM_H_

#include "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_