These are chat archives for fmtlib/fmt

9th
Jan 2018
Rochet2
@Rochet2
Jan 09 2018 11:19
I couldn't find this in the documentation, but does %s accept const char* and std::string or only const char*? For example is this allowed without any additional code? fmt::sprintf("%s", std::string("test"));
Rochet2
@Rochet2
Jan 09 2018 11:28
Just saw this: "the fmt functions are type-safe and throw an exception if an argument type doesn’t match its format specification."
And I am not getting an exception. So I am guessing it is fine then.