rval->ref const(T), implicit conversions

tsbockman via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 18 22:24:06 PST 2016


On Tuesday, 19 January 2016 at 06:17:17 UTC, tsbockman wrote:
> 1) It introduces substantial template bloat, as the number of 
> instantiations of the entire function - including the body! - 
> scales as the square of the number of `auto ref` parameters.

Oops - I was being a little dyslexic here. It's actually much 
worse than that: not N^2, but 2^N.


More information about the Digitalmars-d mailing list