Template Function qhipster::toString

Function Documentation

template<class T>
std::string qhipster::toString(T const &val)

convert to a string

This function converts any value to a string, by writing it into a string stream.

Pre

Writing into a std::istream using operator<< needs to be implemented for the type

Parameters
  • [in] val: the value to be converted to a string