/[svn]/linuxsampler/trunk/src/common/global.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/global.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 83 by schoenebeck, Sun May 23 19:47:59 2004 UTC revision 170 by senkov, Sat Jul 3 20:08:07 2004 UTC
# Line 36  Line 36 
36  #include <stdio.h>  #include <stdio.h>
37    
38  #include <string>  #include <string>
39    #include <sstream>
40    
41  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
42  #  include <config.h>  #  include <config.h>
# Line 80  struct result_t { Line 81  struct result_t {
81      String        message;  ///< detailed warning or error message      String        message;  ///< detailed warning or error message
82  };  };
83    
84    template<class T> inline String ToString(T o) {
85            std::stringstream ss;
86            ss << o;
87            return ss.str();
88    }
89    
90  #endif // __GLOBAL_H__  #endif // __GLOBAL_H__

Legend:
Removed from v.83  
changed lines
  Added in v.170

  ViewVC Help
Powered by ViewVC