Skip to content

Commit

Permalink
fix typos, whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
m-fila committed Dec 11, 2024
1 parent c1013f8 commit 690d24c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions doc/collections_as_container.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ The PODIO Collections currently are not checked against expression and statement
The C++ specifies a set of named requirements for iterators. Starting with C++20 the standard specifies also iterator concepts. The requirements imposed by the concepts and named requirements are similar but not identical.

In the following tables a convention from `Collection` is used: `iterator` stands for PODIO `MutableCollectionIterator` and `const_iterator` stands for PODIO `CollectionIterator`.

### Iterator summary

| Named requirement | `iterator` | `const_iterator` |
Expand All @@ -80,12 +81,12 @@ In the following tables a convention from `Collection` is used: `iterator` stand

| Concept | `iterator` | `const_iterator` |
|---------|------------------------|------------------------------|
| `std::indirectly_readable` | ✔️ yes / ✔️ yes |
| `std::indirectly_readable` | ✔️ yes | ✔️ yes |
| `std::indirectly_writable` | ❌ no | ❌ no |
| `std::weakly_incrementable` | ✔️ yes | ✔️ yes |
| `std::incrementable` | ✔️ yes | ✔️ yes |
| `std::input_or_output_iterator` | ✔️ yes | ✔️ yes |
| `std::input_iterator` | ✔️ yes / ✔️ yes |
| `std::input_iterator` | ✔️ yes | ✔️ yes |
| `std::output_iterator` | ❌ no | ❌ no |
| `std::forward_iterator` | ❌ no | ❌ no |
| `std::bidirectional_iterator` | ❌ no | ❌ no |
Expand Down
2 changes: 1 addition & 1 deletion tests/unittests/std_interoperability.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ TEST_CASE("Collection AllocatorAwareContainer types", "[collection][container][t
}
// TODO add tests for AllocatorAwareContainer statements and expressions

TEST_CASE("Collection and iterator concepts") {
TEST_CASE("Collection and iterator concepts", "[collection][container][iterator][std]") {
#if (__cplusplus >= 202002L)

SECTION("input_or_output_iterator") {
Expand Down

0 comments on commit 690d24c

Please sign in to comment.