Skip to content

Clean up comments for LWG-3912 enumerate_view::iterator::operator- should be noexcept #3780

Description

LWG-3912 has been voted into the standard, so we should remove the following /* strengthened */ comment.

Code:

STL/stl/inc/ranges

Lines 6126 to 6129 in 15aea98

_NODISCARD_FRIEND constexpr difference_type operator-(
const _Iterator& _Left, const _Iterator& _Right) noexcept /* strengthened */ {
return _Left._Pos - _Right._Pos;
}

Please feel free to submit a pull request if there isn't one already linked here - no need to ask for permission! 😸

You can (and should) link your pull request to this issue using GitHub's close/fix/resolve syntax.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationRelated to documentation or commentsfixedSomething works now, yay!good first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions