[all-commits] [llvm/llvm-project] 96377e: [libc++][expected] Implement LWG3836
yronglin via All-commits
all-commits at lists.llvm.org
Sun Aug 20 05:19:04 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 96377e5cc1e39cccbc0b4911c0c2170e9135d105
https://github.com/llvm/llvm-project/commit/96377e5cc1e39cccbc0b4911c0c2170e9135d105
Author: yrong <yronglin777 at gmail.com>
Date: 2023-08-20 (Sun, 20 Aug 2023)
Changed paths:
M libcxx/docs/Status/Cxx23Issues.csv
M libcxx/include/__expected/expected.h
M libcxx/include/optional
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.u.pass.cpp
M libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/copy.pass.cpp
Log Message:
-----------
[libc++][expected] Implement LWG3836
Implement LWG3836 (https://wg21.link/LWG3836)
`std::expected<bool, E1>` conversion constructor `expected(const expected<U, G>&)` should take precedence over `expected(U&&)` with operator `bool`
Reviewed By: #libc, Mordante
Differential Revision: https://reviews.llvm.org/D155701
More information about the All-commits
mailing list