Skip to content

Commit 73da69c

Browse files
Dawn Perchikzygoloid
authored andcommitted
P0809R0 Comparing Unordered Containers
Also fixes LWG2831.
1 parent db9fe2f commit 73da69c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/containers.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2832,7 +2832,7 @@
28322832
proportional to $N$ (but worst-case complexity remains \bigoh{N^2}, e.g., for
28332833
a pathologically bad hash function). The behavior of a program that uses
28342834
\tcode{operator==} or \tcode{operator!=} on unordered containers is undefined
2835-
unless the \tcode{Hash} and \tcode{Pred} function objects respectively have
2835+
unless the \tcode{Pred} function object has
28362836
the same behavior for both containers and the equality comparison function
28372837
for \tcode{Key} is a refinement\footnote{Equality comparison is a refinement
28382838
of partitioning if no two objects that

0 commit comments

Comments
 (0)