Skip to content

Modernize numeric#17

Merged
saki7 merged 2 commits intodevelopfrom
modernize-numeric
Sep 13, 2025
Merged

Modernize numeric#17
saki7 merged 2 commits intodevelopfrom
modernize-numeric

Conversation

@saki7
Copy link
Copy Markdown
Collaborator

@saki7 saki7 commented Sep 13, 2025

Supersedes boostorg/spirit#830

Part of #4

This PR modernizes numeric and numeric_utils components.

  • Add constexpr to almost everywhere
  • Use if constexpr in static branches
  • Use iterator/sentinel pair, avoid unconstrained typename Iterator
  • Add noexcept to primitive operations
  • Use <cstdint> instead of Boost version
  • Use <type_traits> instead of Boost version

@saki7 saki7 self-assigned this Sep 13, 2025
@saki7 saki7 added the enhancement New feature or request label Sep 13, 2025
@saki7 saki7 mentioned this pull request Sep 13, 2025
15 tasks
@saki7 saki7 merged commit 499c619 into develop Sep 13, 2025
15 of 39 checks passed
@saki7 saki7 deleted the modernize-numeric branch September 13, 2025 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant