On 2/22/21 2:00 PM, Jack wrote: > C defValue() { return C.a; }
Yes, putting the expression in a function is the way I know for lazy evaluation.
Ali
Ali Çehreli via Digitalmars-d-learn Tue, 23 Feb 2021 13:21:00 -0800
On 2/22/21 2:00 PM, Jack wrote: > C defValue() { return C.a; }
Yes, putting the expression in a function is the way I know for lazy evaluation.
Ali