[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Win32 Port of Safari
From:       Alan Gutierrez <ajglist () izzy ! net>
Date:       2003-01-12 3:09:24
[Download RAW message or body]

Dirk Mueller wrote:
 > On Fre, 10 Jan 2003, Alan Gutierrez wrote:
 >
 >>-AttrImpl *NamedAttrMapImpl::getNamedItem ( NodeImpl::Id id ) const
 >>+// AttrImpl *NamedAttrMapImpl::getNamedItem ( NodeImpl::Id id ) const AJG
 >>+NodeImpl *NamedAttrMapImpl::getNamedItem ( NodeImpl::Id id ) const
 >
 > is this a compiler warning or a compile fix ? C++ definitely allows
 > signatures to differ based on the return type.

Mr Mueller

I need some scouring the rust of my C++ knowledge.

Here is the result of gg: return type signature group:comp.std.c++

http://groups.google.com/groups?q=return+type+signature+group:comp.std.c%2B%2B

These are the most recent threads I could find.

http://groups.google.com/groups?th=f7452872378d982c
http://groups.google.com/groups?th=7c5c2ef7b7bcf935

They state that overloading by return type is not supported by the standard.
The discussions also imply that although not allowed, it is certianly possible
for many compilers, since many compilers put the return type in the mangled
name.

Thank you for you help.

Alan Gutierrez

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic