Skip to content

Commit d3e49a4

Browse files
committed
[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
1 parent 8b2f332 commit d3e49a4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

libcxx/include/__algorithm/in_in_result.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,15 @@ struct in_in_result {
2626

2727
template <class _II1, class _II2>
2828
requires convertible_to<const _I1&, _II1> && convertible_to<const _I2&, _II2>
29-
constexpr operator in_in_result<_II1, _II2>() const & {
29+
_LIBCPP_HIDE_FROM_ABI constexpr
30+
operator in_in_result<_II1, _II2>() const & {
3031
return {in1, in2};
3132
}
3233

3334
template <class _II1, class _II2>
3435
requires convertible_to<_I1, _II1> && convertible_to<_I2, _II2>
35-
constexpr operator in_in_result<_II1, _II2>() && { return {_VSTD::move(in1), _VSTD::move(in2)}; }
36+
_LIBCPP_HIDE_FROM_ABI constexpr
37+
operator in_in_result<_II1, _II2>() && { return {_VSTD::move(in1), _VSTD::move(in2)}; }
3638
};
3739
} // namespace ranges
3840

0 commit comments

Comments
 (0)