You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2aaaff4
Browse filesBrowse the repository at this point in the historyBrowse files
Switch to the new iterator idiom in all rules (#548)
I also deleted the old PtrValueIter because it assumed that the inputs
were random access iterators. This assumption is wrong for weaker
iterator categories, for example bidirectional, see
tests/unit/vector_iter_range_ctor.cpp:
```cpp
// the iterator of map is bidirectional
std::map<int, int> m;
// the iterator of vector is random access, the the arguments (m.begin(), m.end())
// are bidirectional where PtrValueIter does not work
std::vector<std::pair<int, int>> v6(m.begin(), m.end());
```
0 commit comments