static vs non-static

Zhenya zheny at list.ru
Sun Jan 13 09:10:32 PST 2013


On Sunday, 13 January 2013 at 17:04:21 UTC, Maxim Fomin wrote:
> On Sunday, 13 January 2013 at 16:39:22 UTC, bearophile wrote:
>> Maxim Fomin:
>>
>>> dmd allows to call static functions on instance.
>>
>> I think that's a D design mistake (and I think Jonathan Davis 
>> agrees with me), but Walter prefers the current behavour.
>>
>> Bye,
>> bearophile
>
> Then I agree with both of you, however I found this issue not 
> very dramatical (comparing with other problems), probably 
> because I haven't hit some problems with it.

I just was writting something like n-dimensional 
dispatcher,described in Andrei's Modern C++ design,and I needed 
to write classinfo analog by hands.


More information about the Digitalmars-d-learn mailing list