Skip to content

Commit 877918f

Browse files
jwakelytkoeppe
authored andcommitted
[allocator.requirements] Fix pointer_to expression and reinstate descriptive variable 'r' (#1656)
1 parent 2ca4340 commit 877918f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/lib-intro.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1872,6 +1872,8 @@
18721872
by calling \tcode{a1.allocate}, where \tcode{a1 == a} \\ \rowsep
18731873
\tcode{q} & a value of type \tcode{XX::const_pointer}
18741874
obtained by conversion from a value \tcode{p}. \\ \rowsep
1875+
\tcode{r} & a value of type \tcode{T\&}
1876+
obtained by the expression \tcode{*p}. \\ \rowsep
18751877
\tcode{w} & a value of type \tcode{XX::void_pointer} obtained by
18761878
conversion from a value \tcode{p} \\ \rowsep
18771879
\tcode{x} & a value of type \tcode{XX::const_void_pointer} obtained by
@@ -1960,7 +1962,7 @@
19601962

19611963
\tcode{pointer_traits<\brk{}X::pointer\brk{}>::pointer_to(r)} &
19621964
\tcode{X::pointer} &
1963-
& \\ \rowsep
1965+
same as \tcode{p} & \\ \rowsep
19641966

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

0 commit comments

Comments
 (0)