----- main.cpp #include #include #include #include "GameServer.h" #include "SocketServer.h" using namespace std; template string to_string(const T& t) { std::stringstream ss; ss << t; return ss.str(); } ... ---- SocketServer.h #ifndef SOCKETSERVER_H #define SOCKETSERVER_H #include #include #include #include #include #include #include #include #include using namespace std; template string to_string(const T&); void log_msg(string); ...