getline(...) function and Glib::ustring



Hi all,

I want to read some strings from file but seems that the only function
available to do that is std::getline(...) from <string> library. Second
argument to getline is a std::string and I tried to use a Glib::ustring
but it didn't work because of argument type mismatch.

So, my question is, how do I work around this?

Thanks,
-Gezim

P.S.: I checked the docs for ustring and there was no such thing as
getline implemented.




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