Skip to content

Commit be875e0

Browse files
committed
[async.assoc.alloc.members] Improve wording for consistency with IS
Also fixes overfull hbox warnings.
1 parent 3fb6ff2 commit be875e0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/async.tex

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,9 @@
960960

961961
\begin{itemdescr}
962962
\pnum
963-
\ctype If \tcode{T} has a nested type \tcode{allocator_type}, \tcode{typename T::allocator_type}. Otherwise \tcode{ProtoAllocator}.
963+
\ctype If the \grammarterm{qualified-id} \tcode{T::allocator_type}
964+
is valid and denotes a type~(\CppXref{temp.deduct}), \tcode{T::allocator_type}.
965+
Otherwise \tcode{ProtoAllocator}.
964966
\end{itemdescr}
965967

966968
\begin{itemdecl}
@@ -969,12 +971,13 @@
969971

970972
\begin{itemdescr}
971973
\pnum
972-
\returns If \tcode{T} has a nested type \tcode{allocator_type}, \tcode{t.get_allocator()}. Otherwise \tcode{a}.
974+
\returns If the \grammarterm{qualified-id} \tcode{T::allocator_type}
975+
is valid and denotes a type~(\CppXref{temp.deduct}), \tcode{t.get_allocator()}.
976+
Otherwise \tcode{a}.
973977
\end{itemdescr}
974978

975979

976980

977-
978981
\rSec1[async.assoc.alloc.get]{Function \tcode{get_associated_allocator}}
979982

980983
\indexlibrary{\idxcode{get_associated_allocator}}%

0 commit comments

Comments
 (0)