change int to string c++

int number = 10; std::string str_number = std::to_string(number);