Am Dienstag, den 12.12.2006, 15:28 +0100 schrieb Loïc Joly:
> I have a problem with Glib::ustring. The following code works with
> std::string, but not Glib::ustring.
> 
> #include "glibmm/ustring.h"
> 
> typedef Glib::ustring String;
> //typedef std::string String;
> 
> int main()
> {
>       String s = "Toto";
>       String s2 = "Tutu";
>       s.insert(s.begin(), s2.begin(), s2.end());
> }

Please define "doesn't work", i.e. what happens if you try?
The method does seem to be declared, at least:

    template<class In> void insert(iterator p, In pbegin, In pend);

--Daniel


_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to