[libcxx-commits] [PATCH] D125300: [libc++] type_traits: make __invokable_r work in terms of argument passing.
Eric Fiselier via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri May 20 11:31:55 PDT 2022
EricWF added a comment.
I think we already have a trait for this. It's `__is_core_convertible`. Could you use that instead?
================
Comment at: libcxx/include/type_traits:3503
+template <class _From, class _To>
+struct __is_implicitly_convertible {
+private:
----------------
Use `__is_core_convertible`, which already addresses this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125300/new/
https://reviews.llvm.org/D125300
More information about the libcxx-commits
mailing list