Skip to content

Commit cba9d33

Browse files
jensmaurertkoeppe
authored andcommitted
[support.types.byteops] Move 'Remarks' to after 'Effects' (#1973)
1 parent ea4048f commit cba9d33

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

source/support.tex

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,11 @@
347347
\end{itemdecl}
348348

349349
\begin{itemdescr}
350-
\pnum \remarks This function shall not participate in overload resolution unless
351-
\tcode{is_integral_v<IntType>} is \tcode{true}.
352-
353350
\pnum \effects Equivalent to:
354351
\tcode{return b = b << shift;}
352+
353+
\pnum \remarks This function shall not participate in overload resolution unless
354+
\tcode{is_integral_v<IntType>} is \tcode{true}.
355355
\end{itemdescr}
356356

357357
\indexlibrarymember{operator<<}{byte}%
@@ -361,14 +361,14 @@
361361
\end{itemdecl}
362362

363363
\begin{itemdescr}
364-
\pnum \remarks This function shall not participate in overload resolution unless
365-
\tcode{is_integral_v<IntType>} is \tcode{true}.
366-
367364
\pnum \effects Equivalent to:
368365
\begin{codeblock}
369366
return static_cast<byte>(static_cast<unsigned char>(
370367
static_cast<unsigned int>(b) << shift));
371368
\end{codeblock}
369+
370+
\pnum \remarks This function shall not participate in overload resolution unless
371+
\tcode{is_integral_v<IntType>} is \tcode{true}.
372372
\end{itemdescr}
373373

374374
\indexlibrarymember{operator>>=}{byte}%
@@ -378,11 +378,11 @@
378378
\end{itemdecl}
379379

380380
\begin{itemdescr}
381-
\pnum \remarks This function shall not participate in overload resolution unless
382-
\tcode{is_integral_v<IntType>} is \tcode{true}.
383-
384381
\pnum \effects Equivalent to:
385382
\tcode{return b >> shift;}
383+
384+
\pnum \remarks This function shall not participate in overload resolution unless
385+
\tcode{is_integral_v<IntType>} is \tcode{true}.
386386
\end{itemdescr}
387387

388388
\indexlibrarymember{operator>>}{byte}%
@@ -392,14 +392,14 @@
392392
\end{itemdecl}
393393

394394
\begin{itemdescr}
395-
\pnum \remarks This function shall not participate in overload resolution unless
396-
\tcode{is_integral_v<IntType>} is \tcode{true}.
397-
398395
\pnum \effects Equivalent to:
399396
\begin{codeblock}
400397
return static_cast<byte>(static_cast<unsigned char>(
401398
static_cast<unsigned int>(b) >> shift));
402399
\end{codeblock}
400+
401+
\pnum \remarks This function shall not participate in overload resolution unless
402+
\tcode{is_integral_v<IntType>} is \tcode{true}.
403403
\end{itemdescr}
404404

405405
\indexlibrarymember{operator"|=}{byte}%
@@ -488,10 +488,10 @@
488488
\end{itemdecl}
489489

490490
\begin{itemdescr}
491+
\pnum \effects Equivalent to: \tcode{return static_cast<IntType>(b);}
492+
491493
\pnum \remarks This function shall not participate in overload resolution unless
492494
\tcode{is_integral_v<IntType>} is \tcode{true}.
493-
494-
\pnum \effects Equivalent to: \tcode{return static_cast<IntType>(b);}
495495
\end{itemdescr}
496496

497497
\rSec1[support.limits]{Implementation properties}

0 commit comments

Comments
 (0)