Re: [Re: [libxml++] UTF8 support]
- From: Murray Cumming <murrayc usa net>
- To: <libxmlplusplus-general lists sourceforge net>, <libxmlplusplus-general lists sourceforge net>
- Subject: Re: [Re: [libxml++] UTF8 support]
- Date: Tue, 25 Feb 2003 08:35:02 -0000
Ole Laursen <olau hardworking dk> wrote:
> Perhaps this idea is better. If there is an implicit
> conversion to char*, it will interface nicely with both std::string
> and Glib::ustring.
I asumme you mean "const char*".
Implicit conversions to const char* lead to implicitly orphaned pointers. I
believe that's why std::string has no implcit conversion to const char*.
Glib::ustring tries to mimick the std::string API as much as possible, as we
asssume that the designers of std::string know what they are doing.
Murray Cumming
murrayc usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]