Skip to content

Comments

Refine build scripts and modernize source code#1

Open
yaito3014 wants to merge 28 commits intomasterfrom
iris
Open

Refine build scripts and modernize source code#1
yaito3014 wants to merge 28 commits intomasterfrom
iris

Conversation

@yaito3014
Copy link
Member

@yaito3014 yaito3014 commented Feb 17, 2026

Refactoring Todo

  • Add constexpr to all functions (need careful investigation)
  • Change static const local variables to non-static constexpr
  • Replace const with constexpr
  • Change unscoped enum to scoped
  • Add noexcept
  • Add [[nodiscard]]

@yaito3014 yaito3014 added the enhancement New feature or request label Feb 17, 2026
@yaito3014 yaito3014 self-assigned this Feb 17, 2026
@yaito3014
Copy link
Member Author

Should we consider primitive iterator operations as noexcept? Standard doesn't really specify how iterators handle exceptions. If we are going careful way, we should create nothrow meta-functions for those operations.

@saki7
Copy link
Member

saki7 commented Feb 17, 2026

Should we consider primitive iterator operations as noexcept? Standard doesn't really specify how iterators handle exceptions. If we are going careful way, we should create nothrow meta-functions for those operations.

Check out the actual implementation of <ranges>. They often use noexcept expression to strengthen functions.

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.

2 participants