Skip to content

Commit

Permalink
Correct comments
Browse files Browse the repository at this point in the history
  • Loading branch information
morzhovets committed Jul 20, 2024
1 parent 11fb438 commit 049847d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/momo/HashMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class HashMapSettings
All `HashMap` functions and constructors have strong exception safety,
but not the following cases:
1. Functions `Insert` receiving many items have basic exception safety.
2. Function `Remove` receiving predicate have basic exception safety.
2. Function `Remove` receiving predicate has basic exception safety.
3. Functions `MergeFrom` and `MergeTo` have basic exception safety.
4. In case default `KeyValueTraits`: if insert/add function receiving
argument `Key&& key` throws exception, this argument may be changed.
Expand Down
2 changes: 1 addition & 1 deletion include/momo/HashMultiMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ class HashMultiMapSettings
All `HashMultiMap` functions and constructors have strong exception
safety, but not the following cases:
1. Functions `Add` receiving many items have basic exception safety.
2. Function `Remove` receiving predicate have basic exception safety.
2. Function `Remove` receiving predicate has basic exception safety.
3. In case default `KeyValueTraits`: If function `Add`, `AddVar` or
`AddCrt` receiving argument `Key&& key` throws exception,
this argument may be changed.
Expand Down
2 changes: 1 addition & 1 deletion include/momo/HashSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ class HashSetSettings
All `HashSet` functions and constructors have strong exception safety,
but not the following cases:
1. Functions `Insert` receiving many items have basic exception safety.
2. Function `Remove` receiving predicate have basic exception safety.
2. Function `Remove` receiving predicate has basic exception safety.
3. Functions `MergeFrom` and `MergeTo` have basic exception safety.
*/

Expand Down
2 changes: 1 addition & 1 deletion include/momo/TreeMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class TreeMapSettings
All `TreeMap` functions and constructors have strong exception safety,
but not the following cases:
1. Functions `Insert` receiving many items have basic exception safety.
2. Function `Remove` receiving predicate have basic exception safety.
2. Function `Remove` receiving predicate has basic exception safety.
3. Functions `MergeFrom` and `MergeTo` have basic exception safety.
4. In case default `KeyValueTraits`: if insert/add function receiving
argument `Key&& key` throws exception, this argument may be changed.
Expand Down
2 changes: 1 addition & 1 deletion include/momo/TreeSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class TreeSetSettings
All `TreeSet` functions and constructors have strong exception safety,
but not the following cases:
1. Functions `Insert` receiving many items have basic exception safety.
2. Function `Remove` receiving predicate have basic exception safety.
2. Function `Remove` receiving predicate has basic exception safety.
3. Functions `MergeFrom` and `MergeTo` have basic exception safety.
*/

Expand Down

0 comments on commit 049847d

Please sign in to comment.