On Sunday, 2 February 2014 at 19:57:11 UTC, Dicebot wrote:
On Sunday, 2 February 2014 at 17:45:37 UTC, Gary Willoughby wrote:enum embed = getData(); }I am pretty sure you want immutable variable here, not enum. Latter is placement constant.
I thought this was an idiomatic way to write eponymous templates? Manifest constants by their nature can not be mutated.
http://dlang.org/enum.html
