How can I transfer uint64_t value to std::string? I need to construct the std::string containing this value For example something like this:
void genString(uint64_t val)
{
std::string str;
//.....some code for str
str+=(unsigned int)val;//????
}
Thank you
In C++ 11 you may just use:
std::to_string()
it's defined in header