Thanks, I became a bit worried there and I just HAD to check myself. And it works, of course ( No false modesty here :) ) But you beat me to it.
/ Erik -----Original Message----- From: Ingolf Steinbach [mailto:[EMAIL PROTECTED]] Sent: den 13 december 2002 16:01 To: [EMAIL PROTECTED] Subject: Re: FW: Const-correctness in Xerces and TreeWalker * Jennifer Schachter <[EMAIL PROTECTED]> [2002-12-13 15:55]: > This wouldn't help our problem: You cannot overload based on return > type... [...] > On Fri, 13 Dec 2002, Erik Rydgren wrote: [...] > > DOMDocument* DOMNode::getOwnerDocument(); > > const DOMDocument* DOMNode::getOwnerDocument() const; [...] > > DOMTreeWalker* DOMDocument::createTreeWalker(DOMNode* node, and so on...); > > const DOMTreeWalker* DOMDocument::createTreeWalker(const DOMNode* node, and > > so on...) const; Note the "const" at the end of the lines. That's not overloading on return type (additionally, the second createTreeWalker() takes a "const DOMNode*"). So definitively the functions have a different signature which makes overloading possible. Regards Ingolf -- Ingolf Steinbach Jena-Optronik GmbH [EMAIL PROTECTED] ++49 3641 200-147 PGP: 0x7B3B5661 213C 828E 0C92 16B5 05D0 4D5B A324 EC04 --------------------------------------------------------------------- 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]
