-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathmap
More file actions
36 lines (29 loc) · 925 Bytes
/
map
File metadata and controls
36 lines (29 loc) · 925 Bytes
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
#include "iterator.h"
#include <bits/stl_function.h>
#include <empty.h>
namespace std {
template <typename _Key, typename _Tp, typename _Compare = std::less<_Key>,
typename _Alloc = std::allocator<_Key>>
class multimap {
public:
typedef std::iterator<random_access_iterator_tag, _Key, _Tp> iterator;
typedef std::iterator<random_access_iterator_tag, _Key, _Tp> const_iterator;
iterator begin();
iterator end();
const_iterator cbegin();
const_iterator cend();
multimap();
};
template <typename _Key, typename _Tp, typename _Compare = std::less<_Key>,
typename _Alloc = std::allocator<_Key>>
class map {
public:
typedef std::iterator<random_access_iterator_tag, _Key, _Tp> iterator;
typedef std::iterator<random_access_iterator_tag, _Key, _Tp> const_iterator;
iterator begin();
iterator end();
const_iterator cbegin();
const_iterator cend();
map();
};
} // namespace std