The libc's equivalent of std::expected has a non-standard and
non-explicit operator T - https://github.com/llvm/llvm-project/issues/62738
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D152270
[libc] Remove operator T from cpp::expected. ClosedPublic Authored by lntue on Jun 6 2023, 7:13 AM.
Details Summary The libc's equivalent of std::expected has a non-standard and
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 6 2023, 7:13 AM This revision is now accepted and ready to land.Jun 6 2023, 10:23 AM
Closed by commit rGb95ed8b6d935: [libc] Remove operator T from cpp::expected. (authored by lntue). · Explain WhyJun 6 2023, 10:57 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 528850 libc/src/__support/CPP/expected.h
libc/src/__support/File/dir.cpp
libc/src/dirent/readdir.cpp
libc/test/src/__support/File/platform_file_test.cpp
|
Is using *fd more idiomatic?