[libc-commits] [libc] [libc] continues header cleanup process (PR #65556)
Guillaume Chatelet via libc-commits
libc-commits at lists.llvm.org
Wed Sep 6 23:09:28 PDT 2023
================
@@ -25,7 +25,7 @@ template <typename T> struct is_rvalue_reference : public false_type {};
template <typename T> struct is_rvalue_reference<T &&> : public true_type {};
#endif
template <class T>
-using add_rvalue_reference_t = typename add_rvalue_reference<T>::type;
+LIBC_INLINE constexpr bool is_rvalue_reference_v = is_rvalue_reference<T>::value;
----------------
gchatelet wrote:
This needs to be `LIBC_INLINE_VAR`
https://github.com/llvm/llvm-project/pull/65556
More information about the libc-commits
mailing list