Home
last modified time | relevance | path

Searched refs:__hold_ (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__iterator/
H A Dcommon_iterator.h63 variant<_Iter, _Sent> __hold_; variable
73 …_LIBCPP_HIDE_FROM_ABI constexpr common_iterator(_Iter __i) : __hold_(in_place_type<_Iter>, std::mo… in common_iterator()
74 …_LIBCPP_HIDE_FROM_ABI constexpr common_iterator(_Sent __s) : __hold_(in_place_type<_Sent>, std::mo… in common_iterator()
79 : __hold_([&]() -> variant<_Iter, _Sent> { in common_iterator()
81 …!__other.__hold_.valueless_by_exception(), "Attempted to construct from a valueless common_iterato… in common_iterator()
82 if (__other.__hold_.index() == 0) in common_iterator()
83 … return variant<_Iter, _Sent>{in_place_index<0>, std::__unchecked_get<0>(__other.__hold_)}; in common_iterator()
84 return variant<_Iter, _Sent>{in_place_index<1>, std::__unchecked_get<1>(__other.__hold_)}; in common_iterator()
92 …!__other.__hold_.valueless_by_exception(), "Attempted to assign from a valueless common_iterator");
94 auto __idx = __hold_.index();
[all …]