tinyformat
tinyformat copied to clipboard
Minimal, type safe printf replacement library for C++
I'm attempting to run a bitcoin fork in LXD/LXC (linux containers) I ~~get~~see errors when I `watch tail` the debug.log and when I run `bitcoin-cli getinfo` in the json output...
The following code will print different output on different compilers: ``` enum Number : uint8_t { FOO = 111, }; int main(){ std::cout
Before #77 change gets widely circulated, check whether passing the negative -INF through %.16d still puts the minus sign at far-left
```cpp #include #include "tinyformat.h" void fun_void_void(){}; int main(void) { std::cout
Hi all, First, thanks for creating the tinyformat library. Having an easy-to-use locale independent formatting library available under a permissive license is really nice! :) Bitcoin Core uses tinyformat for...
fix #68 - Cannot print function pointer ```cpp #include #include "tinyformat.h" struct test_debugger { void var() {} }; void fun_void_void(){}; void fun_void_double(double d){}; double fun_double_double(double d){return d;} int main(void) {...
```c++ #include "tinyformat.h" int main(int argc, char const *argv[]) { // typedef int (*Function)( int argc, char const *argv[] ); std::cerr
The documentation mentions it, but not example is given.
fix https://github.com/c42f/tinyformat/issues/61
With constexpr it seems to be possible to parse the format string at compile time to determine if the number of arguments passed actually matches the number of arguments specified....