On 12/21/2016 03:04 PM, Johan Engelen wrote:Super contrived, but I hope you get my drift: ``` int *awesome() pure { static if (ohSoAwesome) { return new int; } else { return null; } } ```Where does ohSoAwesome come from?
A random bool. Perhaps something like this: ``` version(LDC) ohSoAwesome = true; else ohSoAwesome = false ``` ;-) Johan