BlitzFormat - ZiYueCommentary/BlitzToolbox GitHub Wiki
[!WARNING] Currently known that formatting strings with the complex format will cause C++ Runtime Error, reason is still unknown.
BlitzFormat is a library for format strings, absolutely the same as std::format
in C++.
BlitzFormat's core is std::vformat
, which is core of std::format
too.
Functions List
Function | Description |
---|---|
Format$(fmt$, arg$) | Format string with 1 argument. |
Format2$(fmt$, arg1$, arg2$) | Format string with 2 arguments. |
Format3$(fmt$, arg1$, arg2$, arg3$) | Format string with 3 arguments. |
Format4$(fmt$, arg1$, arg2$, arg3$, arg4$) | Format string with 4 arguments. |
Format5$(fmt$, arg1$, arg2$, arg3$, arg4$, arg5$) | Format string with 5 arguments. |
Format6$(fmt$, arg1$, arg2$, arg3$, arg4$, arg5$, arg6$) | Format string with 6 arguments. |
Format7$(fmt$, arg1$, arg2$, arg3$, arg4$, arg5$, arg6$, arg7$) | Format string with 7 arguments. |
Format8$(fmt$, arg1$, arg2$, arg3$, arg4$, arg5$, arg6$, arg7$, arg8$) | Format string with 8 arguments. |
Format9$(fmt$, arg1$, arg2$, arg3$, arg4$, arg5$, arg6$, arg7$, arg8$, arg9$) | Format string with 9 arguments. |
Format10$(fmt$, arg1$, arg2$, arg3$, arg4$, arg5$, arg6$, arg7$, arg8$, arg9$, arg10$) | Format string with 10 arguments. |
Changelogs
Version | Changes |
---|---|
v1.11 | Tiny optimizations. |
v1.1 | Use std::format to instead SFormat , now BlitzFormat is a real formatter. |