Skip to content

Commit

Permalink
Make collection iterators fulfill LegacyInputIterator and input_itera…
Browse files Browse the repository at this point in the history
…tor concept (#626)

* add copy construction and assignment

* add multipass check references bound to the same object

* add type aliases, iterators are LegacyIterator

* add postfix operator, iterators are LegacyInputIterators

* add value-initialization

* use default member initializers

* remove obsolete todos

* add missing semantic requirements checks for concepts

* make dereference const by not updating local object, iterators are std::input_iterators

* clarify lack of operator-> for std::counted_iterator adapting collection iterators

* check ranges concepts

* check algorithms

* move checking unsuported range algorithms to a separate test case

* move checking unsupported iterator concepts to separate test

* add tests for interop with C++23 const_iterator adaptor

* use `colection::mutable_type`

---------

Co-authored-by: Thomas Madlener <thomas.madlener@desy.de>
  • Loading branch information
m-fila and tmadlener authored Dec 19, 2024
1 parent 6e9c131 commit 3f8bd29
Show file tree
Hide file tree
Showing 3 changed files with 590 additions and 252 deletions.
Loading

0 comments on commit 3f8bd29

Please sign in to comment.