Lines Matching defs:__other
79 _LIBCPP_HIDE_FROM_ABI constexpr common_iterator(const common_iterator<_I2, _S2>& __other)
82 !__other.__hold_.valueless_by_exception(), "Attempted to construct from a valueless common_iterator");
83 if (__other.__hold_.index() == 0)
84 return variant<_Iter, _Sent>{in_place_index<0>, std::__unchecked_get<0>(__other.__hold_)};
85 return variant<_Iter, _Sent>{in_place_index<1>, std::__unchecked_get<1>(__other.__hold_)};
91 _LIBCPP_HIDE_FROM_ABI common_iterator& operator=(const common_iterator<_I2, _S2>& __other) {
93 !__other.__hold_.valueless_by_exception(), "Attempted to assign from a valueless common_iterator");
96 auto __other_idx = __other.__hold_.index();
100 std::__unchecked_get<0>(__hold_) = std::__unchecked_get<0>(__other.__hold_);
102 std::__unchecked_get<1>(__hold_) = std::__unchecked_get<1>(__other.__hold_);
106 __hold_.template emplace<1>(std::__unchecked_get<1>(__other.__hold_));
108 __hold_.template emplace<0>(std::__unchecked_get<0>(__other.__hold_));