[libc-commits] [PATCH] D149972: [libc] Rework 'cpp:optional' to support move construction
Joseph Huber via Phabricator via libc-commits
libc-commits at lists.llvm.org
Fri May 5 09:45:29 PDT 2023
jhuber6 created this revision.
jhuber6 added reviewers: sivachandra, lntue, gchatelet, JonChesterfield, jdoerfert, michaelrj.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
jhuber6 requested review of this revision.
This patch replaces the existing `cpp::optional` type with a newer
version that has more features. This class is heavily inspired by the
old `llvm::Optional` class. Currently the limitations of this class is
that we only handle types with trivial constructors or operators.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D149972
Files:
libc/src/__support/CPP/optional.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149972.519902.patch
Type: text/x-patch
Size: 5742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230505/faf8acb7/attachment.bin>
More information about the libc-commits
mailing list