From: | Harald Fuchs <hf0722x(at)protecting(dot)net> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Calling PL functions with named parameters |
Date: | 2004-08-14 13:21:22 |
Message-ID: | pullghyhwt.fsf@srv.protecting.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
In article <411DFBE1(dot)7060007(at)opencloud(dot)com>,
Oliver Jowett <oliver(at)opencloud(dot)com> writes:
> I think you just made my point for me. C++ allows default parameters
> and resolves the ambiguity by disallowing ambiguous calls when they
> happen.
> I'm not sure why C++ doesn't disallow it at declaration time off the
> top of my head -- perhaps because you'd get inconsistent behaviour if
> the candidates were split across compilation units.
IIRC this was due to multiple unheritance. You could inherit methods
with the same name and parameter list from two different base classes.
Disallowing that at declaration time would mean disallowing
inheritance (even indirectly) from these two base classes, even though
the derived class didn't use the ambiguous methods.
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2004-08-14 13:26:28 | Re: [HACKERS] [Fwd: Re: [pgsql-hackers-win32] Import from Linux to |
Previous Message | Simon@2ndquadrant.com | 2004-08-14 13:04:09 | Re: will PITR in 8.0 be usable for "hot spare"/"log shipping" type of replication |