Glib::ustring and C++11 utf-8 literals



Hi!

As one can see on wikipedia, C++11 offers the ability to create utf-8 string literals. (http://en.wikipedia.org/wiki/C%2B%2B11#New_string_literals)
Is it possible to pass these safely to Glib::ustring when constructing them?

It is suspicious that 
Glib::ustring::ustring(const char * src, size_type n )
constructor will do the job. Is this right? 

Thanks,
Dennis 

 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]