Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P3379R0 Constrain std::expected equality operators #7449

Merged
merged 2 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/support.tex
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,8 @@
#define @\defnlibxname{cpp_lib_constexpr_typeinfo}@ 202106L // freestanding, also in \libheader{typeinfo}
#define @\defnlibxname{cpp_lib_constexpr_utility}@ 201811L // freestanding, also in \libheader{utility}
#define @\defnlibxname{cpp_lib_constexpr_vector}@ 201907L // also in \libheader{vector}
#define @\defnlibxname{cpp_lib_constrained_equality}@ 202403L // freestanding,
// also in \libheader{utility}, \libheader{tuple}, \libheader{optional}, \libheader{variant}
#define @\defnlibxname{cpp_lib_constrained_equality}@ 202411L // freestanding,
// also in \libheader{utility}, \libheader{tuple}, \libheader{optional}, \libheader{variant}, \libheader{expected}
#define @\defnlibxname{cpp_lib_containers_ranges}@ 202202L
// also in \libheader{vector}, \libheader{list}, \libheader{forward_list}, \libheader{map}, \libheader{set}, \libheader{unordered_map}, \libheader{unordered_set},
// \libheader{deque}, \libheader{queue}, \libheader{stack}, \libheader{string}
Expand Down
11 changes: 6 additions & 5 deletions source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -8775,7 +8775,7 @@

\begin{itemdescr}
\pnum
\mandates
\constraints
The expressions \tcode{*x == *y} and \tcode{x.error() == y.error()}
are well-formed and their results are convertible to \tcode{bool}.

Expand All @@ -8793,7 +8793,8 @@

\begin{itemdescr}
\pnum
\mandates
\constraints
\tcode{T2} is not a specialization of \tcode{expected}.
The expression \tcode{*x == v} is well-formed and
its result is convertible to \tcode{bool}.
\begin{note}
Expand All @@ -8812,7 +8813,7 @@

\begin{itemdescr}
\pnum
\mandates
\constraints
The expression \tcode{x.error() == e.error()} is well-formed and
its result is convertible to \tcode{bool}.

Expand Down Expand Up @@ -9733,7 +9734,7 @@

\begin{itemdescr}
\pnum
\mandates
\constraints
The expression \tcode{x.error() == y.error()} is well-formed and
its result is convertible to \tcode{bool}.

Expand All @@ -9751,7 +9752,7 @@

\begin{itemdescr}
\pnum
\mandates
\constraints
The expression \tcode{x.error() == e.error()} is well-formed and
its result is convertible to \tcode{bool}.

Expand Down
Loading