libstdc++: Define split_view::_InnerIter::base as per P2210
libstdc++-v3/ChangeLog: * include/std/ranges (split_view::_InnerIter::base): Define as per P2210.
This commit is contained in:
parent
b245d1c3d6
commit
85a594f7dc
@ -3086,6 +3086,14 @@ namespace views::__adaptor
|
||||
: _M_i(std::move(__i))
|
||||
{ }
|
||||
|
||||
constexpr iterator_t<_Base>
|
||||
base() const& requires copyable<iterator_t<_Base>>
|
||||
{ return _M_i_current(); }
|
||||
|
||||
constexpr iterator_t<_Base>
|
||||
base() &&
|
||||
{ return std::move(_M_i_current()); }
|
||||
|
||||
constexpr decltype(auto)
|
||||
operator*() const
|
||||
{ return *_M_i_current(); }
|
||||
|
Loading…
Reference in New Issue
Block a user