Functions | |
| template<typename T > | |
| std::string | toString (const T &t) |
| Converts an object into a new its string representation. | |
| std::string util::toString | ( | const T & | t | ) | [inline] |
Converts an object into a new its string representation.
Uses the standard class stringstream. The objects type T must provide an implementation of the canonical << method:
std::ostream & operator <<(std::ostream& os, const T& t)
where T is a real type.

1.5.9