Use std::format from c++20 #1015
Labels
enhancement
New feature or request
Status: Pending Test
This PR or Issue requires more testing
Type: Enhancement
New feature or request
Priority
Enhancement
Area
What is missing?
I noticed the project still uses custom code to format prints (custom snprintf).
I believe it would be better to use what c++20 provides, so std::format directly.
It's easier to use, has auto casting via {} and probably way more features, not to mention it's in the standard and we can remove some custom code for free. Custom formatters for classes are also very nice.
Code of Conduct
The text was updated successfully, but these errors were encountered: