]> git.lyx.org Git - lyx.git/blobdiff - src/support/tostr.h
* lyxfunctional.h: delete compare_memfun and helper classes
[lyx.git] / src / support / tostr.h
index 573c2b8924d67c056aff70dd83ce1fcc96623e61..2e362d91999ab3957d23d8e91cf74f7f89df5c1b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * \author André Pönitz
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  *
  * A collection of string helper functions that works with string.
  * Some of these would certainly benefit from a rewrite/optimization.
 #ifndef TOSTR_H
 #define TOSTR_H
 
-#include "LString.h"
-
-// When trying to convert this to a template using std::stringstream,
-// note that this will pull in the whole of <string> in more than 150
-// files, even when configuring --with-included-strings !
+#include <string>
 
 /// convert things to strings
-string const tostr(bool b);
+std::string const tostr(bool b);
+///
+std::string const tostr(int);
 ///
-string const tostr(int);
+std::string const tostr(unsigned int);
 ///
-string const tostr(unsigned int);
+std::string const tostr(long int);
 ///
-string const tostr(long int);
+std::string const tostr(double);
 ///
-string const tostr(double);
+std::string const tostr(std::string const & s);
 ///
-string const tostr(string const & s);
+std::string const tostr(long unsigned int);
 
 #endif