Properties interface additions

Murray Cumming murrayc at murrayc.com
Sun Feb 8 02:07:54 PST 2009


On Wed, 2009-01-28 at 15:00 -0500, Havoc Pennington wrote:
[snip]
> Say you're adding this support to binding xyz, is there a good way
> to deal with members with the same name but different interfaces? In
> C++ the answer is basically no,
[snip]

It's unpleasant, but you can do BaseInterfaceA::something() and
BaseInterfaceB::something() from inside a multiply-derived class. The C
++ compiler would generally force you to do that by complaining that
just something() is ambiguous.

I would avoid it, but it's likely to happen for some regular methods
already. How does Java handle that?

-- 
Murray Cumming
murrayc at murrayc.com
www.murrayc.com
www.openismus.com




More information about the dbus mailing list