Skip to content

chore: add missing noexcepts#13370

Merged
Kha merged 2 commits intoleanprover:masterfrom
eric-wieser:eric-wieser/no-except-mpz
May 10, 2026
Merged

chore: add missing noexcepts#13370
Kha merged 2 commits intoleanprover:masterfrom
eric-wieser:eric-wieser/no-except-mpz

Conversation

@eric-wieser
Copy link
Copy Markdown
Contributor

swap and move constructors should be noexcept to enable use in STL containers

A quick inspection suggests that these functions can never throw exceptions anyway.

swap and move constructors should be noexcept to enable use in STL containers
@eric-wieser eric-wieser requested a review from leodemoura as a code owner April 10, 2026 23:27
@github-actions github-actions Bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Apr 23, 2026
@leanprover-bot
Copy link
Copy Markdown
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI can not be attempted yet, as the nightly-testing-2026-04-10 tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-manual, reference manual CI should run now. You can force reference manual CI using the force-manual-ci label. (2026-04-23 20:59:32)

@github-actions github-actions Bot added the mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN label Apr 23, 2026
@mathlib-lean-pr-testing mathlib-lean-pr-testing Bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Apr 23, 2026
@mathlib-lean-pr-testing
Copy link
Copy Markdown

Mathlib CI status (docs):

@eric-wieser
Copy link
Copy Markdown
Contributor Author

@Kha, do you think you could take a look at this? It's not super important, but it silences some linter warnings for me!

@Kha Kha added this pull request to the merge queue May 10, 2026
Merged via the queue into leanprover:master with commit 62142c5 May 10, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-mathlib CI has verified that Mathlib builds against this PR mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants