[libc-commits] [PATCH] D148971: [libc] Adjust the `cpp:function` type to support lambdas
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Apr 24 13:36:04 PDT 2023
sivachandra accepted this revision.
sivachandra added inline comments.
This revision is now accepted and ready to land.
================
Comment at: libc/src/__support/CPP/type_traits.h:184
+ details::void_t<decltype(details::convertible_to_helper<T>(
+ declval<F>()))>> = true;
+
----------------
I think I can reason this out but I am not sure if it comprehensive. At the same time, we don't have to be comprehensive in the libc.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148971/new/
https://reviews.llvm.org/D148971
More information about the libc-commits
mailing list