What is the shortest way, preferably inline-able, to convert an int to a string? Answers using stl and boost will be welcomed.
You can use std::to_string in C++11
int i = 3; std::string str = std::to_string(i);
1.4m articles
1.4m replys
5 comments
57.0k users