Skip to content

Improve exception specification of iterator machinery - #1347

Merged
Stephan T. Lavavej (StephanTLavavej) merged 10 commits into
microsoft:mainfrom
miscco:noexcept_reverse_iterator
Aug 16, 2022
Merged

Improve exception specification of iterator machinery#1347
Stephan T. Lavavej (StephanTLavavej) merged 10 commits into
microsoft:mainfrom
miscco:noexcept_reverse_iterator

Conversation

@miscco

@miscco Michael Schellenberger Costa (miscco) commented Oct 6, 2020

Copy link
Copy Markdown
Contributor

This improves the exception specification of move_iterator and reverse_iterator as well as the begin() function and friends.

Note that this (should be) merge clean with #2991 - there are no _Unwrapped() changes, to allow #2991 to make those changes.

@miscco Michael Schellenberger Costa (miscco) changed the title Improve exception specificatio of iterator machinery Improve exception specification of iterator machinery Oct 6, 2020
@CaseyCarter Casey Carter (CaseyCarter) added the enhancement Something can be improved label Oct 6, 2020
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
@CaseyCarter

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@miscco

This comment was marked as resolved.

@miscco

This comment was marked as resolved.

Base automatically changed from master to main January 28, 2021 00:35
@StephanTLavavej

Copy link
Copy Markdown
Member

I've pushed a merge with main to resolve <xutility> conflicts with #2074 and #2622 (after verifying locally that x64 tests are passing).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to revive this PR; Michael Schellenberger Costa (@miscco), are you up for getting this pushed through, or should I take it on?

Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
@miscco

Copy link
Copy Markdown
Contributor Author

Hey, I will be on vacation the coming weeks, so feel free to plough ahead

Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility
Comment thread stl/inc/xutility

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final nits - I'll fix.

Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks good! I have a few questions and suggestions.

Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
Comment thread stl/inc/xutility Outdated
@StephanTLavavej

Copy link
Copy Markdown
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit 5def9e7 into microsoft:main Aug 16, 2022
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks for strengthening the STL! 💪 🦾 😻

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

Labels

enhancement Something can be improved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants