[dmd-beta] D 2.059 beta 4

Jonathan M Davis jmdavisProg at gmx.com
Mon Apr 9 23:27:51 PDT 2012


On Tuesday, April 10, 2012 08:16:42 Don Clugston wrote:
> BUT... I don't think we should be trying to solve this difficult issue
> right now, while we are trying to get a release out the door.

Of course not. We're stuck with duplicating const ref functions for now just 
like we have been. Recent changes to opEquals and opCmp just highlight it. But 
it _is_ something that we need to solve. To the layman at least, C++'s 
solution seems far superior to D's insistance that const ref actually be a 
ref. Apparently, there's a good reason not to, but most of us don't really 
understand it. Andrei is very passionate about it though.

- Jonathan M Davis


More information about the dmd-beta mailing list