2 std-string.hh -- declare std::string
4 source file of the GNU LilyPond music typesetter
6 (c) 2006 Jan Nieuwenhuizen <janneke@gnu.org>
19 #define NPOS std::string::npos
21 string to_string (string s);
22 string to_string (char c, int n = 1);
23 string to_string (int i, char const *format = 0);
24 string to_string (double f, char const *format = 0);
25 string to_string (long);
26 string to_string (long unsigned);
27 string to_string (unsigned);
28 string to_string (bool b);
29 string to_string (char const *format, ...);
31 string &replace_all (string &str, string find, string replace);
32 string &replace_all (string &str, char find, char replace);
33 char *string_copy (string s);
35 int string_compare (string const &, string const &);
37 INSTANTIATE_COMPARE (string const &, string_compare);
41 #endif /* STD_STRING_HH */