"template with auto ref" experiment

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Feb 4 08:53:13 PST 2017


On 02/04/2017 06:33 AM, Alex wrote:

 > whether I'm
> doing something unsecure...

If you haven't already, you may want to read a recent thread as well:

   http://forum.dlang.org/post/jsksamnatzkshldnnrxq@forum.dlang.org

In addition to valuable information by others there, I tried to argue 
that explicit function overloads may be better than 'auto ref'. At least 
Jonathan M Davis did not agree and I agreed with him mostly because 
explicit function overloads don't scale like 'auto ref' does.

Ali



More information about the Digitalmars-d-learn mailing list