std::string 转uint64方法:

#include <string>
#include <sstream>

uint64 stringToUINT64(const std::string s)
{
std::stringstream a;
a << s;
UINT64 ret = 0;
a >> ret;
return ret;
}

原文地址:https://www.cnblogs.com/gx1069/p/6951517.html