SMORES Robot Platform Simulation
Modlab at Penn, ASL at Cornell
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
util Namespace Reference

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...
 

Detailed Description

util namespace defines a bunch of utility functions

Function Documentation

string util::Int2String ( int  number)
inline

Converts int to string.

Parameters
numberNumber needs to be converted
Returns
Converted string
template<typename T >
std::string util::to_string ( const T &  n)

A function template that convert number to string.

Parameters
nA reference of T type
Returns
Converted string