SMORES Robot Platform Simulation
Modlab at Penn, ASL at Cornell
|
util namespace defines a bunch of utility functions More...
Functions | |
template<typename T > | |
std::string | to_string (const T &n) |
A function template that convert number to string. More... | |
string | Int2String (int number) |
Converts int to string. More... | |
util namespace defines a bunch of utility functions
|
inline |
Converts int to string.
number | Number needs to be converted |
std::string util::to_string | ( | const T & | n | ) |
A function template that convert number to string.
n | A reference of T type |