Другими словами, учитывая приведенный ниже код:
Код: Выделить всё
#include
#include
#include
void log(const std::source_location& location = std::source_location::current())
{
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79337027/is-stdsource-location-guarenteed-to-reuse-the-same-object[/url]
Мобильная версия