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:
Patrick Palka 2021-06-20 12:38:35 -04:00
parent b245d1c3d6
commit 85a594f7dc

View File

@ -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(); }