Мне нужно установить результат из std::put_time из ctime в std::string, как мне это сделать?
Вот мой код:
BBToolkit::LogManager::LogManager() {
auto t = std::time(nullptr);
auto tm = *std::localtime(&t);
std::cout
Подробнее здесь: https://stackoverflow.com/questions/798 ... -time-in-c