#include #include // Template function to convert an object to a string template std::string toString(const T& obj) { std::ostringstream oss; oss << obj; return oss.str(); }