--- linuxsampler/trunk/src/common/global.h 2004/05/23 19:47:59 83 +++ linuxsampler/trunk/src/common/global.h 2004/07/03 20:08:07 170 @@ -36,6 +36,7 @@ #include #include +#include #ifdef HAVE_CONFIG_H # include @@ -80,4 +81,10 @@ String message; ///< detailed warning or error message }; +template inline String ToString(T o) { + std::stringstream ss; + ss << o; + return ss.str(); +} + #endif // __GLOBAL_H__