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

Use fmt lib for complicated string formatting #59

Open
abeltrano opened this issue Feb 1, 2023 · 0 comments
Open

Use fmt lib for complicated string formatting #59

abeltrano opened this issue Feb 1, 2023 · 0 comments
Assignees

Comments

@abeltrano
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The text formatting updates to C++ 20 require specifying non-standard options (clang) and/or very new compiler versions (g++, clang). Since we'd like to keep the build environment simple, we don't want to take this route. It'd be nice to simplify complicated string formatting with std::format like functionality in a library that supports reasonable versions of MSVC, clang, and g++.

Describe the solution you'd like
The fmt library is one solution that satisfies the above criteria. Unfortunately it's not a drop-in replacement for std::format, so would require some rework to switch to the standard implementation if it becomes more widely available in the medium term.

@abeltrano abeltrano self-assigned this Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant