[libcxx-commits] [PATCH] D109212: [libc++] span: replace enable_if with requires. NFCI.
Joe Loser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 2 21:24:29 PDT 2021
jloser created this revision.
jloser added reviewers: ldionne, Quuxplusone, Mordante.
jloser requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
Several span constructors use `enable_if_t` which is verbose and slow.
Replace these `enable_if_t` clauses with their equivalent using
`requires` clauses.
Note: some constraints on various `span` constructors are wrong and will
be fixed in follow-up patches.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D109212
Files:
libcxx/include/span
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109212.370478.patch
Type: text/x-patch
Size: 6697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210903/a784a223/attachment-0001.bin>
More information about the libcxx-commits
mailing list