Skip to content

Modernize numeric#830

Closed
saki7 wants to merge 2 commits intoboostorg:developfrom
saki7:modernize-numeric
Closed

Modernize numeric#830
saki7 wants to merge 2 commits intoboostorg:developfrom
saki7:modernize-numeric

Conversation

@saki7
Copy link
Collaborator

@saki7 saki7 commented Sep 11, 2025

Part of boostorg/spirit_x4#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 11, 2025
@saki7 saki7 mentioned this pull request Sep 11, 2025
15 tasks
@saki7
Copy link
Collaborator Author

saki7 commented Sep 13, 2025

Superseded by boostorg/spirit_x4#17

@saki7 saki7 closed this Sep 13, 2025
@saki7 saki7 deleted the modernize-numeric branch September 13, 2025 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant