[libcxx-commits] [libcxx] d3e49a4 - [libc++] Add _LIBCPP_HIDE_FROM_ABI to in_in_result
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jan 15 11:31:38 PST 2022
Author: Nikolas Klauser
Date: 2022-01-15T20:30:08+01:00
New Revision: d3e49a41b19792c32578fcade2adae39e187fc98
URL: https://github.com/llvm/llvm-project/commit/d3e49a41b19792c32578fcade2adae39e187fc98
DIFF: https://github.com/llvm/llvm-project/commit/d3e49a41b19792c32578fcade2adae39e187fc98.diff
LOG: [libc++] Add _LIBCPP_HIDE_FROM_ABI to in_in_result
Add `_LIBCPP_HIDE_FROM_ABI` to `in_in_result` conversion operators
Reviewed By: Quuxplusone, Mordante, #libc
Spies: libcxx-commits
Differential Revision: https://reviews.llvm.org/D117399
Added:
Modified:
libcxx/include/__algorithm/in_in_result.h
Removed:
################################################################################
diff --git a/libcxx/include/__algorithm/in_in_result.h b/libcxx/include/__algorithm/in_in_result.h
index 53ece33136ca6..fbe53ae4f57e7 100644
--- a/libcxx/include/__algorithm/in_in_result.h
+++ b/libcxx/include/__algorithm/in_in_result.h
@@ -26,13 +26,15 @@ struct in_in_result {
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
More information about the libcxx-commits
mailing list