We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
split_view::outer-iterator::value_type::begin()
1 parent 96b3678 commit 853e64fCopy full SHA for 853e64f
stl/inc/ranges
@@ -3321,16 +3321,10 @@ namespace ranges {
3321
is_nothrow_move_constructible_v<_Outer_iter>) // strengthened
3322
: _First{_STD move(_First_)} {}
3323
3324
- _NODISCARD constexpr auto begin() const requires copyable<_Outer_iter> {
+ _NODISCARD constexpr auto begin() const {
3325
return _Inner_iter<_Const>{_First};
3326
}
3327
3328
- // clang-format off
3329
- _NODISCARD constexpr auto begin() requires (!copyable<_Outer_iter>) {
3330
- return _Inner_iter<_Const>{_STD move(_First)};
3331
- }
3332
- // clang-format on
3333
-
3334
_NODISCARD constexpr default_sentinel_t end() const noexcept {
3335
return default_sentinel;
3336
0 commit comments