Skip to content

Commit 56533dc

Browse files
committed
[buffer.read], [buffer.async.read], [buffer.write], [buffer.async.write] Use variable templates
For example, is_dynamic_buffer_v<DynamicBuffer> instead of is_dynamic_buffer<DynamicBuffer>::value.
1 parent 05fe454 commit 56533dc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/bufferstreams.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@
395395
\returns The total number of bytes transferred in the synchronous read operation.
396396

397397
\pnum
398-
\remarks This function shall not participate in overload resolution unless \tcode{is_mutable_buffer_sequence<MutableBufferSequence>::value} is \tcode{true}.
398+
\remarks This function shall not participate in overload resolution unless \tcode{is_mutable_buffer_sequence_v<MutableBufferSequence>} is \tcode{true}.
399399
\end{itemdescr}
400400

401401
\indexlibrary{\idxcode{read}}%
@@ -440,7 +440,7 @@
440440
\returns The total number of bytes transferred in the synchronous read operation.
441441

442442
\pnum
443-
\remarks This function shall not participate in overload resolution unless \tcode{is_dynamic_buffer<Dynamic\-Buffer>::value} is \tcode{true}.
443+
\remarks This function shall not participate in overload resolution unless \tcode{is_dynamic_buffer_v<Dynamic\-Buffer>} is \tcode{true}.
444444
\end{itemdescr}
445445

446446

@@ -491,7 +491,7 @@
491491
On completion of the asynchronous operation, \tcode{ec} is the \tcode{error_code} value from the most recent asynchronous read_some operation, and \tcode{n} is the total number of bytes transferred.
492492

493493
\pnum
494-
\remarks This function shall not participate in overload resolution unless \tcode{is_mutable_buffer_sequence<MutableBufferSequence>::value} is \tcode{true}.
494+
\remarks This function shall not participate in overload resolution unless \tcode{is_mutable_buffer_sequence_v<MutableBufferSequence>} is \tcode{true}.
495495
\end{itemdescr}
496496

497497
\indexlibrary{\idxcode{async_read}}%
@@ -538,7 +538,7 @@
538538

539539
\pnum
540540
\remarks This function shall not participate in overload resolution unless
541-
\linebreak\tcode{is_dynamic_buffer<DynamicBuffer>::value} is \tcode{true}.
541+
\tcode{is_dynamic_buffer_v<DynamicBuffer>} is \tcode{true}.
542542
\end{itemdescr}
543543

544544

@@ -636,7 +636,7 @@
636636
\returns The total number of bytes transferred in the synchronous write operation.
637637

638638
\pnum
639-
\remarks This function shall not participate in overload resolution unless \tcode{is_dynamic_buffer<Dynamic\-Buffer>::value} is \tcode{true}.
639+
\remarks This function shall not participate in overload resolution unless \tcode{is_dynamic_buffer_v<Dynamic\-Buffer>} is \tcode{true}.
640640
\end{itemdescr}
641641

642642

@@ -731,7 +731,7 @@
731731
On completion of the asynchronous operation, \tcode{ec} is the \tcode{error_code} value from the most recent asynchronous write_some operation, and \tcode{n} is the total number of bytes transferred.
732732

733733
\pnum
734-
\remarks This function shall not participate in overload resolution unless \tcode{is_dynamic_buffer<Dynamic\-Buffer>::value} is \tcode{true}.
734+
\remarks This function shall not participate in overload resolution unless \tcode{is_dynamic_buffer_v<Dynamic\-Buffer>} is \tcode{true}.
735735
\end{itemdescr}
736736

737737

0 commit comments

Comments
 (0)