On Mon, 2007-09-10 at 15:25 +0200, Philipp Klaus Krause wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Throughout gtkmm they use std::string for filenames, while using
> Glib::ustring for all other strings.
> Why does libxml++ use Glib::ustring for filenames (as argument to
> write_to_file, etc)?
Yes, it probably should use std::string:
/** Write the document to a file.
* @param filename
* @param encoding If not provided, UTF-8 is used
*/
void write_to_file(const Glib::ustring& filename,
const Glib::ustring& encoding = Glib::ustring());
But I don't think we can change that now. I will add a comment for the
future, in case we can ever break the ABI.
--
mu...@mu...
www.murrayc.com
www.openismus.com
|