Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
morzhovets committed Dec 21, 2024
1 parent 4164b29 commit 99fc7a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ Classes are designed in close conformity with the standard C++20 including excep

- All iterators and references to items will become invalid after each addition or removal of the item and should not be used.

- In `map` and `unordered_map` type `reference` is a pair of references
(same as in [std::flat_map](https://en.cppreference.com/w/cpp/container/flat_map)),
- In `map` and `unordered_map` type `reference` is a pair of references (same as in `std::flat_map`),
so `for (auto& p : map)` is illegal, but `for (auto p : map)` or `for (const auto& p : map)`
or `for (auto&& p : map)` is allowed.

Expand Down

0 comments on commit 99fc7a0

Please sign in to comment.