Skip to content

Commit 6ee9202

Browse files
Merge pull request #939 from github/jeongsoolee09/fix-array-iterator-stub
Change occurrence of `std::iterator<...>` to `__iterator` in the C++ stub library `array`
2 parents 950c719 + 9ea891a commit 6ee9202

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)