Skip to content

Commit c5377fc

Browse files
author
Dawn Perchik
committed
LWG3362 Strike stop_source's operator!=
1 parent 1bdcc98 commit c5377fc

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

source/threads.tex

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -610,8 +610,6 @@
610610

611611
[[nodiscard]] friend bool
612612
operator==(const stop_source& lhs, const stop_source& rhs) noexcept;
613-
[[nodiscard]] friend bool
614-
operator!=(const stop_source& lhs, const stop_source& rhs) noexcept;
615613
friend void swap(stop_source& lhs, stop_source& rhs) noexcept;
616614
};
617615
}
@@ -810,7 +808,7 @@
810808
otherwise \tcode{false}.
811809
\end{itemdescr}
812810

813-
\rSec3[stopsource.cmp]{Comparisons}
811+
\rSec3[stopsource.nonmembers]{Non-member functions}
814812

815813
\indexlibrarymember{operator==}{stop_source}%
816814
\begin{itemdecl}
@@ -826,19 +824,6 @@
826824
otherwise \tcode{false}.
827825
\end{itemdescr}
828826

829-
\indexlibrarymember{operator!=}{stop_source}%
830-
\begin{itemdecl}
831-
[[nodiscard]] bool operator!=(const stop_source& lhs, const stop_source& rhs) noexcept;
832-
\end{itemdecl}
833-
834-
\begin{itemdescr}
835-
\pnum
836-
\returns
837-
\tcode{!(lhs==rhs)}.
838-
\end{itemdescr}
839-
840-
\rSec3[stopsource.special]{Specialized algorithms}
841-
842827
\indexlibrarymember{swap}{stop_source}%
843828
\begin{itemdecl}
844829
friend void swap(stop_source& x, stop_source& y) noexcept;

0 commit comments

Comments
 (0)