Idea for getting rid of "static" on methods

Robert Fraser fraserofthenight at gmail.com
Fri Nov 30 11:18:59 PST 2007


Matti Niemenmaa wrote:
> Bill Baxter wrote:
>> Now you're on to something!  Just tweak that last one slightly:
>>
>>   (this is !in function) int my_method() {...}
>>
>> Perfect!
> 
> Nah, this one's perfect:
> 
> (this function is !in this class) int my_method() {...}
> 
If only we had Java's instanceof:

(this function is !in this instanceof this class) int my_method() {...}



More information about the Digitalmars-d mailing list