Implement std::expected https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0323r12.html
Added tests
Differential D124516
[libc++] Implement `std::expected` P0323R12 huixie90 on Apr 27 2022, 3:33 AM. Authored by
Details
Implement std::expected https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0323r12.html Added tests
Diff Detail
Event TimelineThere are a very large number of changes, so older changes are hidden. Show Older Changes
Comment Actions I'm still going to request changes because of the no_unique_address thing, but this basically LGTM. Thanks a lot for the great patch and the great collaboration on this review. I'm extremely happy with the patch and in particular with the fact that we carefully considered the testing coverage during our review of the class itself (e.g. order of operations in assignment, etc.).
Comment Actions CI
Comment Actions address remaining comments
Comment Actions @huixie90 Thank you so much for this great patch. It's not an easy one but I'm extremely happy with the state it has reached now, and I think we've addressed everyone's comments. I'm excited to ship this in LLVM 16! I still left a few comments for minor nits, but feel free to ship this once they are addressed. Thank you, and thanks to other folks who chimed in on the review!
|