Skip to content

_Get_unwrapped et. al. should (almost) always be noexcept #2989

Description

Noticed in #2987 - distance was marked conditionally noexcept on whether _Get_unwrapped is noexcept, but _Get_unwrapped is never noexcept. However, _Get_unwrapped could be noexcept whenever _Iter::_Unwrapped() is noexcept, as well as when _Iter::_Unwrapped() does not exist.

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

    enhancementSomething can be improvedfixedSomething works now, yay!

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions