<optional>
: Relational and equality operators are constrained before C++26
#5272
Labels
enhancement
Something can be improved
MSVC STL constrains some
operator==
,operator<
etc. foroptional
in C++17~23 modes, while the standard doesn't constrain them until C++26 (via WG21-P2944R3).Should we
optional
, orThe text was updated successfully, but these errors were encountered: