blob: 4f2bd74495a9b08c4e3274ddf2ded9dfb02f2ac0 (
plain) (
blame)
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
|
#include <string>
#ifdef _LIBCPP_INLINE_VISIBILITY
#undef _LIBCPP_INLINE_VISIBILITY
#endif
#define _LIBCPP_INLINE_VISIBILITY
#include <list>
typedef std::list<int> int_list;
typedef std::list<std::string> string_list;
int main()
{
int_list numbers_list;
(numbers_list.push_back(0x12345678)); // Set break point at this line.
(numbers_list.push_back(0x11223344));
(numbers_list.push_back(0xBEEFFEED));
(numbers_list.push_back(0x00ABBA00));
(numbers_list.push_back(0x0ABCDEF0));
(numbers_list.push_back(0x0CAB0CAB));
numbers_list.clear();
(numbers_list.push_back(1));
(numbers_list.push_back(2));
(numbers_list.push_back(3));
(numbers_list.push_back(4));
string_list text_list;
(text_list.push_back(std::string("goofy")));
(text_list.push_back(std::string("is")));
(text_list.push_back(std::string("smart")));
(text_list.push_back(std::string("!!!"))); // Set second break point at this line.
std::list<int> countingList = {3141, 3142, 3142,3142,3142, 3142, 3142, 3141};
countingList.sort();
countingList.unique(); // Set third break point at this line.
countingList.size(); // Set fourth break point at this line.
return 0;
}
|