For example, lazy int sum(int a = 3, int b = 5) { return a + b; }
That is, if the function is not invoked, it should not be calculated at compile time.
Dennis Ritchie via Digitalmars-d-learn Fri, 20 Mar 2015 03:05:38 -0700
For example, lazy int sum(int a = 3, int b = 5) { return a + b; }
That is, if the function is not invoked, it should not be calculated at compile time.