Skip to content

Commit 31b2230

Browse files
committed
LWG3104 Fixing duration division
1 parent 79d903e commit 31b2230

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

source/utilities.tex

+6-2
Original file line numberDiff line numberDiff line change
@@ -19028,8 +19028,8 @@
1902819028
\rSec3[time.duration.nonmember]{\tcode{duration} non-member arithmetic}
1902919029

1903019030
\pnum
19031-
In the function descriptions that follow, \tcode{CD} represents the return type
19032-
of the function.
19031+
In the function descriptions that follow, unless stated otherwise,
19032+
let \tcode{CD} represent the return type of the function.
1903319033

1903419034
\indexlibrary{\idxcode{common_type}}%
1903519035
\begin{itemdecl}
@@ -19112,6 +19112,10 @@
1911219112
\end{itemdecl}
1911319113

1911419114
\begin{itemdescr}
19115+
\pnum
19116+
Let \tcode{CD} be
19117+
\tcode{common_type_t<duration<Rep1, Period1>, duration<Rep2, Period2>>}.
19118+
1911519119
\pnum
1911619120
\returns \tcode{CD(lhs).count() / CD(rhs).count()}.
1911719121
\end{itemdescr}

0 commit comments

Comments
 (0)