summaryrefslogtreecommitdiffstats
path: root/src/include/stl_lite.h
blob: 80ffa89e42bc35dc3fa8eadc1350d862fccd365b (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef STL_LITE_H
#define STL_LITE_H

#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <algorithm>

namespace std_lite{

    /**
     * To restrict the usage of STL functions in libpinyin,
     * all needed functions should be imported here.
     */


    using std::min;


    using std::max;


    using std::pair;


    using std::make_pair;


    using std::lower_bound;


    using std::upper_bound;


    using std::equal_range;


    using std::make_heap;


    using std::pop_heap;


    using std::push_heap;


}
#endif