Код: Выделить всё
error: static assertion failed: std::formatter must be specialized for each type being formatted
Код: Выделить всё
enum class HttpMethod {
GET,
PUT,
};
Код: Выделить всё
std::println("HTTP Method: {}", http_method);
Подробнее здесь: https://stackoverflow.com/questions/793 ... d-for-each
Мобильная версия