[libcxx-commits] [libcxx] [libc++] P3379R1: Constrain `std::expected` equality operators (PR #117664)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Apr 9 23:13:26 PDT 2025
frederick-vs-ja wrote:
> > > Should we backport this to C++23? If so, perhaps we should also backport the constraints introduced by [P2944R3](https://wg21.link/p2944r3) to old modes.
> >
> >
> > @frederick-vs-ja @mordante To continue on the above: Do you think "constrained equality operators" as defined in https://wg21.link/P3379R1 and https://wg21.link/p2944r3 should be implemented as DR?
>
> The paper was not voted in as a DR so we should not apply it as a DR.
In https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115939#c3 @jwakely said that
> I'll get to work on the std::expected proposal (which I expect will get treated as a DR for C++23 by all implementers, certainly in libstdc++)."
And P3379R0 is the paper. libstdc++ treated it as DR against C++23 (gcc-mirror/gcc at 0515b2436b7c7e5e391eae7edc42173c52bab61d).
https://github.com/llvm/llvm-project/pull/117664
More information about the libcxx-commits
mailing list