saxbophone / arby

Arbitrary precision arithmetic in C++, even at compile-time
https://saxbophone.com/arby/
Mozilla Public License 2.0
8 stars 1 forks source link

Make constexpr versions of stringification functions #145

Open saxbophone opened 1 year ago

saxbophone commented 1 year ago

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.