[all-commits] [llvm/llvm-project] 2b07bb: [libc++] Resolve LWG4366: Heterogeneous comparison...
William Tran-Viet via All-commits
all-commits at lists.llvm.org
Tue Jun 30 23:49:53 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2b07bbf52cd734b81dd1d8529dc42c76359d5283
https://github.com/llvm/llvm-project/commit/2b07bbf52cd734b81dd1d8529dc42c76359d5283
Author: William Tran-Viet <wtranviet at proton.me>
Date: 2026-07-01 (Wed, 01 Jul 2026)
Changed paths:
M libcxx/docs/Status/Cxx26Issues.csv
M libcxx/include/__expected/expected.h
M libcxx/test/std/utilities/expected/expected.expected/equality/equality.T2.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/equality/equality.unexpected.pass.cpp
M libcxx/test/support/test_comparisons.h
Log Message:
-----------
[libc++] Resolve LWG4366: Heterogeneous comparison of `expected` may be ill-formed (#185342)
Resolves #171362
- Implement proposed resolution
- Refactor `operator==` code to be more in line with the standard as the
current way was making an explicit `bool()` conversion in the `x.meow()
== y.meow()` cases
- Add test cases
- Update issues paper
---------
Co-authored-by: A. Jiang <de34 at live.cn>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list