logmeow/misc.cpp

11 lines
179 B
C++
Raw Normal View History

2023-01-16 04:05:25 +00:00
#include <iomanip>
#include <sstream>
#include "misc.h"
std::string quote(const std::string& str) {
std::stringstream ss;
ss << std::quoted(str);
return ss.str();
}