Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make constexpr versions of stringification functions #145

Open
saxbophone opened this issue Mar 1, 2023 · 0 comments
Open

Make constexpr versions of stringification functions #145

saxbophone opened this issue Mar 1, 2023 · 0 comments
Labels
cleanup Tidying up, refactor and minor API changes enhancement New feature or request optimisation
Milestone

Comments

@saxbophone
Copy link
Owner

If a constexpr data structure has an output iterator, we can serialise Nat objects to strings of digits in any base at compile-time.

The existing non-constexpr stringification functions which output to std::string could then rely upon this new function.

@saxbophone saxbophone added enhancement New feature or request optimisation cleanup Tidying up, refactor and minor API changes labels Mar 1, 2023
@saxbophone saxbophone added this to the v0.7 milestone Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Tidying up, refactor and minor API changes enhancement New feature or request optimisation
Projects
None yet
Development

No branches or pull requests

1 participant