Skip to content

Commit e33f7fa

Browse files
jensmaurerzygoloid
authored andcommitted
LWG3104 Fixing duration division
1 parent aa3ef9b commit e33f7fa

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
@@ -19042,8 +19042,8 @@
1904219042
\rSec3[time.duration.nonmember]{\tcode{duration} non-member arithmetic}
1904319043

1904419044
\pnum
19045-
In the function descriptions that follow, \tcode{CD} represents the return type
19046-
of the function.
19045+
In the function descriptions that follow, unless stated otherwise,
19046+
let \tcode{CD} represent the return type of the function.
1904719047

1904819048
\indexlibrary{\idxcode{common_type}}%
1904919049
\begin{itemdecl}
@@ -19126,6 +19126,10 @@
1912619126
\end{itemdecl}
1912719127

1912819128
\begin{itemdescr}
19129+
\pnum
19130+
Let \tcode{CD} be
19131+
\tcode{common_type_t<duration<Rep1, Period1>, duration<Rep2, Period2>>}.
19132+
1912919133
\pnum
1913019134
\returns \tcode{CD(lhs).count() / CD(rhs).count()}.
1913119135
\end{itemdescr}

0 commit comments

Comments
 (0)