]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/std-string.hh
Merge branch 'master' into nested-bookparts
[lilypond.git] / flower / include / std-string.hh
index bc2fd61ee5f75bd90ccbd02692b7514aa72ac006..d5933d8f99985075de4908f475dc5bd9cebb3363 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2006 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 2006--2007 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #ifndef STD_STRING_HH
  
 #include "compare.hh"
 
+#if 0
+/*
+  leads to dubious crashes - libstdc++  bug?
+ */
+#ifndef NDEBUG
+#define _GLIBCXX_DEBUG 1
+#endif
+#endif
+
 #include <string>
 
 using namespace std;
@@ -29,8 +38,8 @@ string to_string (bool b);
 string to_string (char const *format, ...)
   __attribute__ ((format (printf, 1, 2)));
   
-string &replace_all (string &str, string find, string replace);
-string &replace_all (string &str, char find, char replace);
+string &replace_all (string* str, string const &find, string const &replace);
+string &replace_all (stringstr, char find, char replace);
 char *string_copy (string s);
 
 int string_compare (string const &, string const &);