Skip to content

Commit 9259cbb

Browse files
authored
[time.duration.nonmember] Fix index entries for operators (#7177)
1 parent 78d770e commit 9259cbb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/time.tex

+3-3
Original file line numberDiff line numberDiff line change
@@ -1601,7 +1601,7 @@
16011601
In the function descriptions that follow, unless stated otherwise,
16021602
let \tcode{CD} represent the return type of the function.
16031603

1604-
\indexlibraryglobal{common_type}%
1604+
\indexlibrarymember{operator+}{duration}%
16051605
\begin{itemdecl}
16061606
template<class Rep1, class Period1, class Rep2, class Period2>
16071607
constexpr common_type_t<duration<Rep1, Period1>, duration<Rep2, Period2>>
@@ -1614,11 +1614,11 @@
16141614
\tcode{CD(CD(lhs).count() + CD(rhs).count())}.
16151615
\end{itemdescr}
16161616

1617-
\indexlibraryglobal{common_type}%
1617+
\indexlibrarymember{operator-}{duration}%
16181618
\begin{itemdecl}
16191619
template<class Rep1, class Period1, class Rep2, class Period2>
16201620
constexpr common_type_t<duration<Rep1, Period1>, duration<Rep2, Period2>>
1621-
operator-(const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs);
1621+
operator-(const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs);
16221622
\end{itemdecl}
16231623

16241624
\begin{itemdescr}

0 commit comments

Comments
 (0)