Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I think the license is bad for normal use I would use a Boost, BSD, or MIT licensing but I am paranoid about this issue. I also prefer streams. I see some benefit in developing your library. First {fmt} does not cover input. This library could be used more for a tool for C++ developer to use C APIs in a type safe way as well and C programmers to use C++ feature. I might uses {fmt} or for output under the hood and see if you can extent the input to strings and char arrays. If that is the case, then I could see another use casing in testing where this could test from standard input, files or even possibly sockets.
Yeah, but parsing format strings in runtime induces an overhead, and doing it in compile time is not trivial, and I’m not sure ClearIO is worth the trouble, since it turns out scnlib exists.
I’ve been writing a small I/O library in C++20 called ClearIO, that is basically a wrapper over with a nicer interface: