On Monday, 20 July 2015 at 10:11:10 UTC, Marc Schütz wrote:
On Monday, 20 July 2015 at 08:53:52 UTC, Clayton wrote:
[...]
I'm not sure that's what you want to know, but...
The evaluation time of expressions is completely deterministic.
Global (module level) or static variables, default values for
struct/class members, template arguments, as well as enums, are
evaluated at compile-time and thus their construction has no
runtime costs.
[...]
Thankyou a lot for the suggestion. Am noting as I learn the
language.