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
use either
boost::lexical_castorstd::ostringstreame.g.:
or