Skip to content

Commit f592d21

Browse files
committed
[allocator.requirements] Fix pointer_to expression
Fixes #1592
1 parent 95ac3d6 commit f592d21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/lib-intro.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1891,9 +1891,9 @@
18911891
\tcode{X::const_pointer} &
18921892
\tcode{static_cast<} \tcode{X::const_pointer\brk{}>(x) == q} & \\ \rowsep
18931893

1894-
\tcode{pointer_traits<\brk{}X::pointer\brk{}>::pointer_to(r)} &
1894+
\tcode{pointer_traits<\brk{}X::pointer\brk{}>::pointer_to(*p)} &
18951895
\tcode{X::pointer} &
1896-
& \\ \rowsep
1896+
same as \tcode{p} & \\ \rowsep
18971897

18981898
\tcode{a.allocate(n)} & \tcode{X::pointer} &
18991899
Memory is allocated for \tcode{n} objects of type \tcode{T} but objects

0 commit comments

Comments
 (0)