1#ifndef _SIM_ITERATOR_BASE
2#define _SIM_ITERATOR_BASE
3
4namespace std {
5
6struct input_iterator_tag { };
7struct output_iterator_tag { };
8struct forward_iterator_tag : public input_iterator_tag { };
9struct bidirectional_iterator_tag : public forward_iterator_tag { };
10struct random_access_iterator_tag : public bidirectional_iterator_tag { };
11
12template <typename Iterator> struct iterator_traits {
13 typedef typename Iterator::difference_type difference_type;
14 typedef typename Iterator::value_type value_type;
15 typedef typename Iterator::pointer pointer;
16 typedef typename Iterator::reference reference;
17 typedef typename Iterator::iterator_category iterator_category;
18};
19
20} // namespace std
21
22#endif // _SIM_ITERATOR_BASE
23

source code of clang-tools-extra/test/clang-tidy/checkers/bugprone/Inputs/system-header-simulator/sim_iterator_base