[libcxx-commits] [PATCH] D109212: [libc++] span: replace enable_if with requires. NFCI.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 2 22:59:16 PDT 2021
Mordante added a comment.
Thanks for working on this! In general I prefer concepts over `enable_if`s. Unfortunately some of our supported compilers don't have proper concepts support yet. We could use `#if`s to guard against that, however IMO that would make the code unneeded ugly. Alternatively we wait until we only support compilers with concepts support.
@ldionne Do you know when AppleClang 13 will be released and whether it has concepts support?
(I want to discuss this before doing a review.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109212/new/
https://reviews.llvm.org/D109212
More information about the libcxx-commits
mailing list