Lines Matching refs:__other
288 _LIBCPP_HIDE_FROM_ABI constexpr explicit __repr(bool __has_val, _OtherUnion&& __other)
291 [&] { return __make_union(__has_val, std::forward<_OtherUnion>(__other)); }),
366 …LIBCPP_HIDE_FROM_ABI static constexpr __union_t __make_union(bool __has_val, _OtherUnion&& __other)
370 return __union_t(in_place, std::forward<_OtherUnion>(__other).__val_);
372 return __union_t(unexpect, std::forward<_OtherUnion>(__other).__unex_);
380 _LIBCPP_HIDE_FROM_ABI static constexpr __repr __make_repr(bool __has_val, _OtherUnion&& __other)
384 return __repr(in_place, std::forward<_OtherUnion>(__other).__val_);
386 return __repr(unexpect, std::forward<_OtherUnion>(__other).__unex_);
414 _LIBCPP_HIDE_FROM_ABI constexpr explicit __expected_base(bool __has_val, _OtherUnion&& __other)
417 [&] { return __make_repr(__has_val, std::forward<_OtherUnion>(__other)); }) {}
487 _LIBCPP_HIDE_FROM_ABI constexpr expected(const expected& __other) noexcept(
491 : __base(__other.__has_val(), __other.__union()) {}
498 _LIBCPP_HIDE_FROM_ABI constexpr expected(expected&& __other) noexcept(
502 : __base(__other.__has_val(), std::move(__other.__union())) {}
541 expected(const expected<_Up, _OtherErr>& __other) noexcept(
544 : __base(__other.__has_val(), __other.__union()) {}
549 expected(expected<_Up, _OtherErr>&& __other) noexcept(
551 : __base(__other.__has_val(), std::move(__other.__union())) {}
1227 _LIBCPP_HIDE_FROM_ABI constexpr explicit __repr(bool __has_val, _OtherUnion&& __other)
1230 [&] { return __make_union(__has_val, std::forward<_OtherUnion>(__other)); }),
1295 …LIBCPP_HIDE_FROM_ABI static constexpr __union_t __make_union(bool __has_val, _OtherUnion&& __other)
1301 return __union_t(unexpect, std::forward<_OtherUnion>(__other).__unex_);
1309 _LIBCPP_HIDE_FROM_ABI static constexpr __repr __make_repr(bool __has_val, _OtherUnion&& __other)
1315 return __repr(unexpect, std::forward<_OtherUnion>(__other).__unex_);
1324 …LIBCPP_HIDE_FROM_ABI constexpr explicit __expected_void_base(bool __has_val, _OtherUnion&& __other)
1327 [&] { return __make_repr(__has_val, std::forward<_OtherUnion>(__other)); }) {}