Lines Matching refs:__other
121 _LIBCPP_HIDE_FROM_ABI constexpr expected(const expected& __other)
125 : __has_val_(__other.__has_val_) {
127 std::construct_at(std::addressof(__union_.__val_), __other.__union_.__val_);
129 std::construct_at(std::addressof(__union_.__unex_), __other.__union_.__unex_);
139 _LIBCPP_HIDE_FROM_ABI constexpr expected(expected&& __other)
143 : __has_val_(__other.__has_val_) {
145 std::construct_at(std::addressof(__union_.__val_), std::move(__other.__union_.__val_));
147 std::construct_at(std::addressof(__union_.__unex_), std::move(__other.__union_.__unex_));
175 expected(const expected<_Up, _OtherErr>& __other)
178 : __has_val_(__other.__has_val_) {
180 std::construct_at(std::addressof(__union_.__val_), __other.__union_.__val_);
182 std::construct_at(std::addressof(__union_.__unex_), __other.__union_.__unex_);
189 expected(expected<_Up, _OtherErr>&& __other)
191 : __has_val_(__other.__has_val_) {
193 std::construct_at(std::addressof(__union_.__val_), std::move(__other.__union_.__val_));
195 std::construct_at(std::addressof(__union_.__unex_), std::move(__other.__union_.__unex_));