[libcxx-commits] [PATCH] D151490: [libc++] Gives ignore external linkage.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 31 08:23:17 PDT 2023
This revision was automatically updated to reflect the committed changes.
Mordante marked an inline comment as done.
Closed by commit rG5d4281d5493c: [libc++] Gives ignore external linkage. (authored by Mordante).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151490/new/
https://reviews.llvm.org/D151490
Files:
libcxx/include/tuple
Index: libcxx/include/tuple
===================================================================
--- libcxx/include/tuple
+++ libcxx/include/tuple
@@ -1508,9 +1508,13 @@
const __ignore_t& operator=(_Tp&&) const {return *this;}
};
+# if _LIBCPP_STD_VER >= 17
+inline constexpr __ignore_t<unsigned char> ignore = __ignore_t<unsigned char>();
+# else
namespace {
constexpr __ignore_t<unsigned char> ignore = __ignore_t<unsigned char>();
} // namespace
+# endif
template <class... _Tp>
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX14
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151490.527056.patch
Type: text/x-patch
Size: 564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230531/1ae50590/attachment.bin>
More information about the libcxx-commits
mailing list