Making template instantiations more lazy

Per Nordlöw per.nordlow at gmail.com
Wed Oct 18 10:36:41 UTC 2017


On Wednesday, 18 October 2017 at 10:17:38 UTC, Biotronic wrote:
>
> Make them templates, that should solve the problem:
>
> struct S(T) {
>     void foo()() {
>         compileerror;
>     }
> }

Yeah I've thought of that.

I still would like to have it built-in to the compiler.


More information about the Digitalmars-d-learn mailing list