Skip to content

Instantly share code, notes, and snippets.

@divinity76
Created May 1, 2014 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save divinity76/d7a74b810f36e6a0f81b to your computer and use it in GitHub Desktop.
Save divinity76/d7a74b810f36e6a0f81b to your computer and use it in GitHub Desktop.
template<typename X>
std::string to_string(X s)
{
std::stringstream ret;
ret << s;
return ret.str();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment