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);
2.1m questions
2.1m answers
60 comments
57.0k users