crash when nullptr
Author: wjx0912Created Sep 16, 2026Updated Sep 16, 2026
const char *test1 = nullptr
spdlog::info("value: {}", test1);then the program crash. Can the code automatically detect and handle this? Thanks
Source: gabime/spdlog
const char *test1 = nullptr
spdlog::info("value: {}", test1);then the program crash. Can the code automatically detect and handle this? Thanks
Source: gabime/spdlog