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

Reply via email to