Skip to content

Commit 44491ca

Browse files
Johannes Lairetkoeppe
Johannes Laire
authored andcommitted
[allocator] Format OUTERMOST in code font and fix up line breaks (#1199)
1 parent 23b02f5 commit 44491ca

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

source/utilities.tex

+11-11
Original file line numberDiff line numberDiff line change
@@ -12312,16 +12312,16 @@
1231212312

1231312313
\pnum
1231412314
In the \tcode{construct} member functions,
12315-
\textit{OUTERMOST(x)} is \tcode{x} if \tcode{x} does not have an
12316-
\tcode{outer_allocator()} member function and \\
12317-
\textit{OUTERMOST(x.outer_allocator())}
12315+
\tcode{\textit{OUTERMOST}(x)} is \tcode{x} if \tcode{x} does not have an
12316+
\tcode{outer_allocator()} member function and
12317+
\tcode{\textit{OUTERMOST}(x.outer_allocator())}
1231812318
otherwise;
12319-
\textit{OUTERMOST_ALLOC_TRAITS(x)} is \\
12319+
\tcode{\textit{OUTERMOST_ALLOC_TRAITS}(x)} is \\
1232012320
\tcode{allocator_traits<decltype(\textit{OUTERMOST}(x))>}.
12321-
\begin{note} \textit{OUTERMOST}(x) and \\
12322-
\textit{OUTERMOST_ALLOC_TRAITS}(x) are recursive operations. It
12321+
\begin{note} \tcode{\textit{OUTERMOST}(x)} and
12322+
\tcode{\textit{OUTERMOST_ALLOC_TRAITS}(x)} are recursive operations. It
1232312323
is incumbent upon the definition of \tcode{outer_allocator()} to ensure that the
12324-
recursion terminates. It will terminate for all instantiations of \\
12324+
recursion terminates. It will terminate for all instantiations of
1232512325
\tcode{scoped_allocator_adaptor}. \end{note}
1232612326

1232712327
\indexlibrarymember{inner_allocator}{scoped_allocator_adaptor}%
@@ -12410,18 +12410,18 @@
1241012410
\begin{itemize}
1241112411
\item If \tcode{uses_allocator_v<T, inner_allocator_type>} is \tcode{false} and\\
1241212412
\tcode{is_constructible_v<T, Args...>} is \tcode{true}, calls\\
12413-
\textit{OUTERMOST_ALLOC_TRAITS}(\tcode{*this})\tcode{::construct(\\
12413+
\tcode{\textit{OUTERMOST_ALLOC_TRAITS}(*this)::construct(\\
1241412414
\textit{OUTERMOST}(*this), p, std::forward<Args>(args)...)}.
1241512415

1241612416
\item Otherwise, if \tcode{uses_allocator_v<T, inner_allocator_type>} is \tcode{true} and
1241712417
\tcode{is_construc\-tible_v<T, allocator_arg_t, inner_allocator_type\&, Args...>} is \tcode{true}, calls
12418-
\textit{OUTERMOST_ALLOC_TRAITS}(\tcode{*this})\tcode{::construct(\textit{OUTERMOST}(*this),
12418+
\tcode{\textit{OUTERMOST_ALLOC_TRAITS}(*this)::construct(\textit{OUTERMOST}(*this),
1241912419
p, allocator_arg,\\inner_allocator(), std::forward<Args>(args)...)}.
1242012420

1242112421
\item Otherwise, if \tcode{uses_allocator_v<T, inner_allocator_type>} is \tcode{true} and
1242212422
\tcode{is_construct\-ible_v<T, Args..., inner_allocator_type\&>} is \tcode{true}, calls
12423-
\textit{OUTERMOST_ALLOC_TRAITS}(*this)::
12424-
\tcode{construct(\textit{OUTERMOST}(*this), p, std::forward<Args>(args)...,\\inner_allocator())}.
12423+
\tcode{\textit{OUTERMOST_ALLOC_TRAITS}(*this)::
12424+
construct(\textit{OUTERMOST}(*this), p, std::forward<Args>(args)...,\\inner_allocator())}.
1242512425

1242612426
\item Otherwise, the program is ill-formed. \begin{note} An error will result if
1242712427
\tcode{uses_allocator} evaluates to \tcode{true} but the specific constructor does not take an

0 commit comments

Comments
 (0)