logmeow/misc.h

11 lines
338 B
C
Raw Normal View History

2023-01-16 04:05:25 +00:00
#pragma once
#include <string>
2023-01-16 08:41:26 +00:00
#include <system_error>
2023-01-16 04:05:25 +00:00
std::string quote(const std::string& str);
2023-01-16 08:41:26 +00:00
std::system_error make_system_error(int err, const char* what);
std::system_error make_system_error(int err, std::string what);
std::system_error make_system_error(const char* what);
std::system_error make_system_error(std::string what);