>>> Why is there bool operator== (const string& str_)const
>> Are you sure that there is? I thought that there was no use of
>> std::string in Xerces-C? In the DOMString class?
>Sorry, it should have said why _isn't_ there
Seems like this has been already addressed in responses to a prior post of
yours...
From: Murray Cumming [[EMAIL PROTECTED]]
Sent: Thu 08/16/2001 10:24 AM
"std::string can't do Unicode/UTF8/etc."
And...
From: Ram Sadasiv [[EMAIL PROTECTED]]
Sent: Thu 08/16/2001 10:27 AM
"the statement on the home page: [ES:
http://xml.apache.org/xerces-c/index.html]
"For portability, care has been taken to make minimal use of templates,
no RTTI, no C++ namespaces and minimal use of #ifdefs"
seems pretty reasonable."
>Well, even without that, a != b is exactly the same as !( a == b ) ...
To be sure... Perhaps, perhaps not. Depends what operator!= and operator==
are defined to be.
-----Original Message-----
From: J. J. Merelo [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 7:24 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: DOMString == string
Murray Cumming wrote:
>
> "J. J. Merelo" wrote:
> >
> > Hi,
> > Why is there bool
> > operator== (const string& str_)const
>
> Are you sure that there is? I thought that there was no use of
> std::string in Xerces-C? In the DOMString class?
>
Sorry, it should have said why _isn't_ there
> > Besides, why the profusion of operator == and operator !=?
Isn't it
> > enough with one of them?
>
> There's a Standard C++ Library header that generates some operator
> overloads in terms of others, but I can't remember the name. Anway, it's
> almost certainly not available on all platforms.
Well, even without that, a != b is exactly the same as !( a == b ) ...
J
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]