File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 1824
1824
\tcode {args} & a function parameter pack with the pattern \tcode {Args\&\& } \\
1825
1825
\end {libreqtab2 }
1826
1826
1827
- \newpage
1828
-
1829
1827
\begin {libreqtab4d }
1830
1828
{Allocator requirements}
1831
1829
{tab:utilities.allocator.requirements}
1906
1904
1907
1905
\tcode {a.allocate(n)} & \tcode {X::pointer} &
1908
1906
Memory is allocated for \tcode {n} objects of type \tcode {T} but objects
1909
- are not constructed. \tcode {allocate} may throw an appropriate exception.\footnotemark
1907
+ are not constructed. \tcode {allocate} may throw an appropriate exception.%
1908
+ \footnote {It is intended that \tcode {a.allocate} be an efficient means
1909
+ of allocating a single object of type \tcode {T}, even when \tcode {sizeof(T)}
1910
+ is small. That is, there is no need for a container to maintain its own
1911
+ free list.}
1910
1912
\begin {note }
1911
1913
If \tcode {n == 0}, the return value is unspecified.
1912
1914
\end {note } & \\ \rowsep
2016
2018
2017
2019
\end {libreqtab4d }
2018
2020
2019
- \footnotetext {It is intended that \tcode {a.allocate} be an efficient means
2020
- of allocating a single object of type \tcode {T}, even when \tcode {sizeof(T)}
2021
- is small. That is, there is no need for a container to maintain its own
2022
- free list.}
2023
-
2024
2021
\pnum
2025
2022
Note A: The member class template \tcode {rebind} in the table above is
2026
2023
effectively a typedef template. \begin {note } In general, if
You can’t perform that action at this time.
0 commit comments