Problem using Interfce

Ali Çehreli acehreli at yahoo.com
Mon May 14 13:27:36 PDT 2012


On 05/14/2012 11:49 AM, Stephen Jones wrote:

 > My
 > understanding is that c# getter setters were simply syntactic sugar
 > which under the hood called standard functions incurring the standard
 > function overhead. Is this the same with D, or does D implement
 > properties using pointers to the required data fields?

It is the same with D but the compiler can optimize out the function 
call in cases where that is possible.

Ali

-- 
D Programming Language Tutorial: http://ddili.org/ders/d.en/index.html



More information about the Digitalmars-d-learn mailing list