Skip to content

Commit 9ea891a

Browse files
committed
Change occurrence of std::iterator<...> to __iterator
Also prefix the member type with `const` depending on the iterator.
1 parent 950c719 commit 9ea891a

File tree

1 file changed

+2
-2
lines changed
  • cpp/common/test/includes/standard-library

1 file changed

+2
-2
lines changed

cpp/common/test/includes/standard-library/array

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ namespace std {
88
template <class T, size_t N> struct array {
99
typedef T &reference;
1010
typedef const T &const_reference;
11-
typedef std::iterator<random_access_iterator_tag, T> iterator;
12-
typedef std::iterator<random_access_iterator_tag, T> const_iterator;
11+
typedef __iterator<T> iterator;
12+
typedef __iterator<const T> const_iterator;
1313
typedef size_t size_type;
1414

1515
typedef ptrdiff_t difference_type;

0 commit comments

Comments
 (0)