You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 8, 2025. It is now read-only.
For numbers (both integers and floats), all the options of POSIX printf should be supported. If a float-options is given to with an integer argument, or vice versa, the input value should be static_cast'ed to the appropriate type before interpolation.
Hexadecimal presentation formats should reinterpret_cast the input to a matching integer representation.
Currently w::format only does plain interpolation. It would be great if it could support syntax like this:
The format options should be per-interpolation, so the same argument can be interpolated multiple times with different format arguments:
For numbers (both integers and floats), all the options of POSIX
printfshould be supported. If a float-options is given to with an integer argument, or vice versa, the input value should bestatic_cast'ed to the appropriate type before interpolation.Hexadecimal presentation formats should
reinterpret_castthe input to a matching integer representation.