1#include <string>
2#include <map>
3#include <vector>
4
5typedef std::map<int, int> intint_map;
6typedef std::map<std::string, int> strint_map;
7
8typedef std::vector<int> int_vector;
9typedef std::vector<std::string> string_vector;
10
11typedef intint_map::iterator iimter;
12typedef strint_map::iterator simter;
13
14typedef int_vector::iterator ivter;
15typedef string_vector::iterator svter;
16
17int main()
18{
19 intint_map iim;
20 iim[0xABCD] = 0xF0F1;
21
22 strint_map sim;
23 sim["world"] = 42;
24
25 int_vector iv;
26 iv.push_back(x: 3);
27
28 string_vector sv;
29 sv.push_back(x: "hello");
30
31 iimter iimI = iim.begin();
32 simter simI = sim.begin();
33
34 ivter ivI = iv.begin();
35 svter svI = sv.begin();
36
37 return 0; // Set break point at this line.
38}
39

source code of lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/main.cpp