Skip to content

Commit 473966e

Browse files
jensmaurerjwakely
authored andcommitted
[unord.req] Insert hint is 'p', not 'q' (#1440)
LWG 2540 changed the hint for insert from 'q' (a valid and dereferenceable iterator) to 'p' (a valid, but not necessarily dereferenceable iterator), but neglected to adjust the description text. Fixes #1423.
1 parent cdefe2d commit 473966e

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
@@ -2480,7 +2480,7 @@
24802480
\tcode{CopyInsertable} into \tcode{X}.\br
24812481
\effects\ Equivalent to a.insert(t). Return value is an iterator pointing
24822482
to the element with the key equivalent to that of \tcode{t}. The
2483-
iterator \tcode{q} is a hint pointing to where the search should
2483+
iterator \tcode{p} is a hint pointing to where the search should
24842484
start. Implementations are permitted to ignore the hint.%
24852485
\indextext{unordered associative containers!\idxcode{insert}}%
24862486
\indextext{\idxcode{insert}!unordered associative containers}%

0 commit comments

Comments
 (0)