Real World usage of D, Today (was Re: challenge #2: implement the varargs_reduce metafunction)
James Dennett
jdennett at acm.org
Fri Jan 26 18:52:47 PST 2007
Walter Bright wrote:
> BCS wrote:
>> Reply to Walter,
>>
>>> I didn't invalidate it because it is a bug. The lookup thing was a
>>> debate about whether Java-style or C++-style overriding is done. D
>>> does C++ style overriding.
>>>
>>
>> Is it? VS complains if there is any question, I haven't checked GCC.
>> Or are you talking about something different.
>
> Looks like something different.
Could you maybe explain what you mean by "C++-style
overriding" as opposed to Java-style overriding? In
what way is D more like C++ here than like Java?
The overriding rules seem similar in C++ and in Java,
though the name/function lookup rules are very
different, and there are restrictions on Java related
to changing visibility when overriding.
-- James
More information about the Digitalmars-d
mailing list