3 ms·
The cool kids are doing it with constexpr. See spdlog and/or fmt
by DerDangDerDang 8y ago
The cool kids are doing it with constexpr. See spdlog and/or fmt
- twic 8y agofmt can check format strings at compile time, but does it generate code to do the formatting? Some quick experiments suggests it will re-parse the format string at runtime to do the formatting.