[libcxx-commits] [PATCH] D117399: [libc++] Add _LIBCPP_HIDE_FROM_ABI to in_in_result

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jan 15 11:31:50 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGd3e49a41b197: [libc++] Add _LIBCPP_HIDE_FROM_ABI to in_in_result (authored by philnik).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117399/new/

https://reviews.llvm.org/D117399

Files:
  libcxx/include/__algorithm/in_in_result.h


Index: libcxx/include/__algorithm/in_in_result.h
===================================================================
--- libcxx/include/__algorithm/in_in_result.h
+++ libcxx/include/__algorithm/in_in_result.h
@@ -26,13 +26,15 @@
 
   template <class _II1, class _II2>
     requires convertible_to<const _I1&, _II1> && convertible_to<const _I2&, _II2>
-  constexpr operator in_in_result<_II1, _II2>() const & {
+   _LIBCPP_HIDE_FROM_ABI constexpr
+   operator in_in_result<_II1, _II2>() const & {
     return {in1, in2};
   }
 
   template <class _II1, class _II2>
     requires convertible_to<_I1, _II1> && convertible_to<_I2, _II2>
-    constexpr operator in_in_result<_II1, _II2>() && { return {_VSTD::move(in1), _VSTD::move(in2)}; }
+  _LIBCPP_HIDE_FROM_ABI constexpr
+  operator in_in_result<_II1, _II2>() && { return {_VSTD::move(in1), _VSTD::move(in2)}; }
 };
 } // namespace ranges
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117399.400312.patch
Type: text/x-patch
Size: 891 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220115/86ebc703/attachment.bin>


More information about the libcxx-commits mailing list