You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4803978
Browse filesBrowse the repository at this point in the historyBrowse files
Diagnose comparisons between two arrays (P2865). [GH #370]
A comparison between two arrays with an equality or relational operator
is now a discretionary error in C++26, a deprecation warning in C++20 and
C++23, and a remark before C++20 (a warning when emulating Clang 20 or
later). When emulating GCC before 15 or Clang before 20, C++26 gets only
the warning. Class operands converted to arrays by a conversion function
(including through an implicit qualification conversion) are covered too.
Co-authored-by: Daveed Vandevoorde <dvandevoorde@nvidia.com>
0 commit comments