4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS
11 * A collection of string helper functions that works with string.
12 * Some of these would certainly benefit from a rewrite/optimization.
20 // When trying to convert this to a template using std::stringstream,
21 // note that this will pull in the whole of <string> in more than 150
22 // files, even when configuring --with-included-strings !
24 /// convert things to strings
25 string const tostr(bool b);
27 string const tostr(int);
29 string const tostr(unsigned int);
31 string const tostr(long int);
33 string const tostr(double);
35 string const tostr(string const & s);