ustring::compose( itoa( intValue ) );
The proper way to do this (in C++) would be:
#include <sstream>
int i = 5;
std::ustring s;
std::stringstream out;
out << i;
s = out.str();
that way your using the stringstream to convert the value.
Cheers, -Harry
Hello,
I'm trying to port an application under win32, but I got a problem with
ustring::compose.
When I try to use an int as a parameter, compose throws an exception
(ConvertError) saying it cannot convert from wchar_t to utf-8.
is there a workaround ?
Thanks,
--
Bastien Durel
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list