https://issues.dlang.org/show_bug.cgi?id=16590 --- Comment #5 from Satoshi <satoshi at rikarin.org> --- struct Foo(size_t Size = 42 / magic()) { } size_t magic() { return 42; } This cannot resolve magic() function at compile time. --