[libcxx-commits] [PATCH] D125300: [libc++] type_traits: make __invokable_r work in terms of argument passing.
Joe Loser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat May 14 21:20:35 PDT 2022
jloser added inline comments.
================
Comment at: libcxx/include/type_traits:3496
+
+// Detects whether an express of type _From can be implicitly converted to _To
+// according to [conv]. Note that this is distinct from is_convertible, which
----------------
// Detects whether an expression of type _From can be implicitly converted to _To
================
Comment at: libcxx/include/type_traits:3499
+// for non-reference _From types relies on returning an rvalue reference from a
+// function and therefore gives the wrong answer for non-moveable types.
+//
----------------
// function and therefore gives the wrong answer for non-movable types.
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