blob: 8c11df075f247ce0047cc4d7dd60b66016a9d42b (
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
|
#include <map>
#include <string>
#include <vector>
typedef std::map<int, int> intint_map;
typedef std::map<std::string, int> strint_map;
typedef std::vector<int> int_vector;
typedef std::vector<std::string> string_vector;
typedef intint_map::iterator ii_map_iter;
typedef strint_map::iterator si_map_iter;
typedef int_vector::iterator ivter;
typedef string_vector::iterator svter;
int main() {
intint_map iim;
iim[0xABCD] = 0xF0F1;
strint_map sim;
sim["world"] = 42;
int_vector iv;
iv.push_back(3);
string_vector sv;
sv.push_back("hello");
ii_map_iter iimI = iim.begin();
si_map_iter simI = sim.begin();
ivter ivI = iv.begin();
svter svI = sv.begin();
return 0; // Set break point at this line.
}
|