5 typedef std::list<int> int_list;
6 typedef std::list<std::string> string_list;
10 int_list numbers_list;
11 std::list<int>* list_ptr = &numbers_list;
13 printf("// Set break point at this line.");
14 (numbers_list.push_back(0x12345678));
15 (numbers_list.push_back(0x11223344));
16 (numbers_list.push_back(0xBEEFFEED));
17 (numbers_list.push_back(0x00ABBA00));
18 (numbers_list.push_back(0x0ABCDEF0));
19 (numbers_list.push_back(0x0CAB0CAB));
23 (numbers_list.push_back(1));
24 (numbers_list.push_back(2));
25 (numbers_list.push_back(3));
26 (numbers_list.push_back(4));
28 string_list text_list;
29 (text_list.push_back(std::string("goofy")));
30 (text_list.push_back(std::string("is")));
31 (text_list.push_back(std::string("smart")));
33 printf("// Set second break point at this line.");
34 (text_list.push_back(std::string("!!!")));
36 std::list<int> countingList = {3141, 3142, 3142,3142,3142, 3142, 3142, 3141};
38 printf("// Set third break point at this line.");
39 countingList.unique();
40 printf("// Set fourth break point at this line.");