Skip to content

Commit 651602e

Browse files
committed
[buffer.reqmts.size] Add subclause for buffer_size customization point
Fixes NB GB-9 (PDTS)
1 parent 96b3047 commit 651602e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/buffers.tex

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,19 @@
433433

434434
\end{LongTable}
435435

436+
\rSec2[buffer.reqmts.size]{Buffer size}
437+
438+
\pnum
439+
Several places in this Technical Specification make unqualified calls to \tcode{buffer_size}.
440+
The context in which these calls are evaluated shall ensure that
441+
a unary non-member function named \tcode{buffer_size}
442+
is selected via overload resolution (\CppXref{over.match})
443+
on a candidate set that includes:
444+
445+
\begin{itemize}
446+
\item the \tcode{buffer_size} function template defined in \tcode{<experimental/buffer>} (\ref{buffer.synop}) and
447+
\item the lookup set produced by argument-dependent lookup (\CppXref{basic.lookup.argdep}).
448+
\end{itemize}
436449

437450

438451
\rSec2[buffer.reqmts.dynamicbuffer]{Dynamic buffer requirements}

0 commit comments

Comments
 (0)