Lines Matching refs:__other
72 constexpr common_iterator(const common_iterator<_I2, _S2>& __other)
74 _LIBCPP_ASSERT(!__other.__hold_.valueless_by_exception(), "Attempted to construct from a valueless common_iterator");
75 if (__other.__hold_.index() == 0)
76 return variant<_Iter, _Sent>{in_place_index<0>, _VSTD::__unchecked_get<0>(__other.__hold_)};
77 return variant<_Iter, _Sent>{in_place_index<1>, _VSTD::__unchecked_get<1>(__other.__hold_)};
83 common_iterator& operator=(const common_iterator<_I2, _S2>& __other) {
84 _LIBCPP_ASSERT(!__other.__hold_.valueless_by_exception(), "Attempted to assign from a valueless common_iterator");
87 auto __other_idx = __other.__hold_.index();
91 _VSTD::__unchecked_get<0>(__hold_) = _VSTD::__unchecked_get<0>(__other.__hold_);
93 _VSTD::__unchecked_get<1>(__hold_) = _VSTD::__unchecked_get<1>(__other.__hold_);
97 __hold_.template emplace<1>(_VSTD::__unchecked_get<1>(__other.__hold_));
99 __hold_.template emplace<0>(_VSTD::__unchecked_get<0>(__other.__hold_));