C + + 11增加了一些新的字符串转换函数:
Http://en.cppreference.com/w/cpp/string/basic_string/stoul
它包括 stoi (string to int) ,stol (string to long) ,stoll (string to long long) ,stoul (string to unsigned long) ,stoull (string to unsigned long)。值得注意的是没有 stou (字符串到无符号)函数。是否有某种原因使得它不需要而其他所有的都需要?