Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stl/inc/iterator
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ public:
}

// [counted.iter.access]
_NODISCARD constexpr const _Iter& base() const& noexcept /* strengthened */ {
_NODISCARD constexpr const _Iter& base() const& noexcept {
return _Current;
}

Expand Down
8 changes: 4 additions & 4 deletions stl/inc/ranges
Original file line number Diff line number Diff line change
Expand Up @@ -1656,7 +1656,7 @@ namespace ranges {
#endif // _ITERATOR_DEBUG_LEVEL != 0
}

_NODISCARD constexpr const iterator_t<_Vw>& base() const& noexcept /* strengthened */ {
_NODISCARD constexpr const iterator_t<_Vw>& base() const& noexcept {
return _Current;
}
_NODISCARD constexpr iterator_t<_Vw> base() && noexcept(
Expand Down Expand Up @@ -1948,7 +1948,7 @@ namespace ranges {
: _Current{_STD move(_It._Current)}, _Parent{_It._Parent} {}
// clang-format on

_NODISCARD constexpr const iterator_t<_Base>& base() const& noexcept /* strengthened */ {
_NODISCARD constexpr const iterator_t<_Base>& base() const& noexcept {
return _Current;
}
_NODISCARD constexpr iterator_t<_Base> base() && noexcept(
Expand Down Expand Up @@ -3675,7 +3675,7 @@ namespace ranges {
is_nothrow_move_constructible_v<_Outer_iter<_Const>>) // strengthened
: _It{_STD move(_It_)} {}

_NODISCARD constexpr const iterator_t<_BaseTy>& base() const& noexcept /* strengthened */ {
_NODISCARD constexpr const iterator_t<_BaseTy>& base() const& noexcept {
return _It._Get_current();
}

Expand Down Expand Up @@ -4407,7 +4407,7 @@ namespace ranges {
: _Current{_STD move(_It._Current)} {}
// clang-format on

_NODISCARD constexpr const iterator_t<_Base>& base() const& noexcept /* strengthened */ {
_NODISCARD constexpr const iterator_t<_Base>& base() const& noexcept {
return _Current;
}

Expand Down
2 changes: 1 addition & 1 deletion stl/inc/xutility
Original file line number Diff line number Diff line change
Expand Up @@ -3618,7 +3618,7 @@ public:
// clang-format on

#ifdef __cpp_lib_concepts
_NODISCARD constexpr const iterator_type& base() const& noexcept /* strengthened */ {
_NODISCARD constexpr const iterator_type& base() const& noexcept {
return _Current;
}
_NODISCARD constexpr iterator_type base() && noexcept(is_nothrow_move_constructible_v<_Iter>) /* strengthened */ {
Expand Down