| 65 | typename I |
| 66 | > |
| 67 | class array_iterator_base: |
| 68 | public containers::random_iterator_base |
| 69 | { |
| 70 | /* random access iterator for contiguous array containers */ |
| 71 | public : |
| 72 | |
| 73 | typedef C container ; |
| 74 | typedef I iter_type ; |
| 75 | |
| 76 | typedef typename |
| 77 | container::data_type data_type ; |
| 78 | typedef typename |
| 79 | container::diff_type diff_type ; |
| 80 | typedef typename |
| 81 | container::size_type size_type ; |
| 82 | |
| 83 | typedef array_iterator_base < |
| 84 | container , |
| 85 | iter_type > self_type ; |
| 86 | |
| 87 | public : |
| 88 | |
| 89 | # ifdef _DEBUG |
| 90 | data_type* _ptr; // array item |
| 91 | container* _obj; // array obj. |
| 92 | # else |
| 93 | data_type* _ptr; // array item |
| 94 | # endif |
| 95 | |
| 96 | public : |
| 97 | |
| 98 | __inline_call array_iterator_base ( |
| 99 | data_type *_psrc = nullptr, |
| 100 | container *_osrc = nullptr |
| 101 | # ifdef _DEBUG |
| 102 | ) : _ptr(_psrc), |
| 103 | _obj(_osrc) {} |
| 104 | #else |
| 105 | ) : _ptr(_psrc) { __unreferenced(_osrc) ; } |
| 106 | # endif |
| 107 | |
| 108 | __inline_call~array_iterator_base() = default ; |
| 109 | |
| 110 | __inline_call array_iterator_base ( |
| 111 | self_type const&_src |
| 112 | ) = default ; |
| 113 | __inline_call array_iterator_base ( |
| 114 | self_type && _src |
| 115 | ) = default ; |
| 116 | |
| 117 | __inline_call |
| 118 | self_type & operator = ( |
| 119 | self_type const&_src |
| 120 | ) = default ; |
| 121 | __inline_call |
| 122 | self_type & operator = ( |
| 123 | self_type && _src |
| 124 | ) = default ; |
nothing calls this directly
no outgoing calls
no test coverage detected