* 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]