Skip to content

Commit cd937db

Browse files
committed
[internet.address.v4.cons] Use codeblock to fix overfull line
1 parent 2568dd4 commit cd937db

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/internetprotocol.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,10 @@
10391039
\remarks \tcode{out_of_range} if \tcode{val} is not in the range \tcode{[0, 0xFFFFFFFF]}. \begin{note} For implementations where \tcode{numeric_limits<address_v4::uint_type>::max() == 0xFFFFFFFF}, no out-of-range detection is needed. \end{note}
10401040

10411041
\pnum
1042-
\postconditions \tcode{to_uint() == val} and \tcode{to_bytes()} is \tcode{\{ (val >> 24) \& 0xFF, (val >> 16) \& 0xFF, (val >> 8) \& 0xFF, val \& 0xFF \}}.
1042+
\postconditions \tcode{to_uint() == val} and \tcode{to_bytes()} is:
1043+
\begin{codeblock}
1044+
{ (val >> 24) & 0xFF, (val >> 16) & 0xFF, (val >> 8) & 0xFF, val & 0xFF }
1045+
\end{codeblock}
10431046
\end{itemdescr}
10441047

10451048

0 commit comments

Comments
 (0)