Making template instantiations more lazy

Nordlöw per.nordlow at gmail.com
Wed Oct 18 19:42:19 UTC 2017


On Wednesday, 18 October 2017 at 11:18:31 UTC, Biotronic wrote:
> I'm not actually sure why D behaves this way - C++ doesn't. I 
> guess there is some value as tests - instantiating the type 
> tests that all its methods compile. Not actually sure that's 
> more of a positive than a negative, but it's certainly never 
> bothered me.
>
> --
>   Biotronic

I wonder if the fix simple (to Walter at least).

It would save container-heavy projects noticeable build time.

Adding () to the member functions did it for mine at least.


More information about the Digitalmars-d-learn mailing list