From 690d24c7273d520972a260f790218dcca0658164 Mon Sep 17 00:00:00 2001 From: Mateusz Jakub Fila Date: Wed, 11 Dec 2024 17:37:17 +0100 Subject: [PATCH] fix typos, whitespaces --- doc/collections_as_container.md | 5 +++-- tests/unittests/std_interoperability.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/collections_as_container.md b/doc/collections_as_container.md index 71d5d04b3..847c37eaa 100644 --- a/doc/collections_as_container.md +++ b/doc/collections_as_container.md @@ -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` | @@ -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 | diff --git a/tests/unittests/std_interoperability.cpp b/tests/unittests/std_interoperability.cpp index 824fa99ec..a005ec524 100644 --- a/tests/unittests/std_interoperability.cpp +++ b/tests/unittests/std_interoperability.cpp @@ -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") {