Skip to content

P2944R3 Comparisons For reference_wrapper #4522

Description

WG21-P2944R3 Comparisons For reference_wrapper
WG21-P3379R0 Constrain expected Equality Operators
LWG-4071 reference_wrapper comparisons are not SFINAE-friendly
LWG-4072 std::optional comparisons: constrain harder

Also tracked by #5873 (this is half "implement downlevel", half "patch C++26"):
LWG-4366 Heterogeneous comparison of expected may be ill-formed

Feature-test macros:

#define __cpp_lib_constrained_equality 202411L
#define __cpp_lib_reference_wrapper    202403L

Note: We are not yet accepting PRs for C++26 features.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cxx26C++26 featurespaceshipC++20 operator <=>

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions