Skip to content

Commit aa17466

Browse files
author
Dawn Perchik
committed
LWG3362 Strike stop_source's operator!=
1 parent 56b4256 commit aa17466

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
@@ -624,8 +624,6 @@
624624

625625
[[nodiscard]] friend bool
626626
operator==(const stop_source& lhs, const stop_source& rhs) noexcept;
627-
[[nodiscard]] friend bool
628-
operator!=(const stop_source& lhs, const stop_source& rhs) noexcept;
629627
friend void swap(stop_source& lhs, stop_source& rhs) noexcept;
630628
};
631629
}
@@ -824,7 +822,7 @@
824822
otherwise \tcode{false}.
825823
\end{itemdescr}
826824

827-
\rSec3[stopsource.cmp]{Comparisons}
825+
\rSec3[stopsource.nonmembers]{Non-member functions}
828826

829827
\indexlibrarymember{operator==}{stop_source}%
830828
\begin{itemdecl}
@@ -840,19 +838,6 @@
840838
otherwise \tcode{false}.
841839
\end{itemdescr}
842840

843-
\indexlibrarymember{operator!=}{stop_source}%
844-
\begin{itemdecl}
845-
[[nodiscard]] bool operator!=(const stop_source& lhs, const stop_source& rhs) noexcept;
846-
\end{itemdecl}
847-
848-
\begin{itemdescr}
849-
\pnum
850-
\returns
851-
\tcode{!(lhs==rhs)}.
852-
\end{itemdescr}
853-
854-
\rSec3[stopsource.special]{Specialized algorithms}
855-
856841
\indexlibrarymember{swap}{stop_source}%
857842
\begin{itemdecl}
858843
friend void swap(stop_source& x, stop_source& y) noexcept;

0 commit comments

Comments
 (0)