Hello everyone!

I'm thinking of supporting UTF-8 in my small console application and ustring 
would be quite useful and using gtkmm there is possibility to add GUI also. 
However some systems might not have gtkmm installed and in that case I'd like 
to fall back to std string.

Is this behaviour achievable some kind of wrapper class easily?
I'm thinking something like:
#ifdef HAVE_GTKMM
class myString: public ustring{
....
#else
class myString:public std::string{
...
#endif
and myString would act like stdstring or ustring.
Or what kind solution would be good?

best regards,
Hannu Vuolasaho
                                          
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to