auto ref function parameters in a free function

Vlad Levenfeld via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 3 14:28:52 PDT 2014


On Sunday, 3 August 2014 at 21:24:03 UTC, Vlad Levenfeld wrote:
> certain data structures I use are not intended to be copied, 
> .....

although these cases are probably better off being compared by 
some kind of key rather than directly... so, auto ref isn't 
necessary here, it was just something I had tried and was 
surprised at the error message I got.


More information about the Digitalmars-d-learn mailing list