"Manu" <turkey...@gmail.com> wrote in message news:mailman.647.1336819289.24740.digitalmar...@puremagic.com... > On 12 May 2012 13:13, Jonathan M Davis <jmdavisp...@gmx.com> wrote: > >> They just have to sort out how to avoid the issues that C++ >> has due to allow const& to take rvalues (which is why const ref in D >> doesn't >> currently take rvalues). So, there's a good chance that the situation >> will >> improve considerably sometime soon. >> > > What are these issues I keep hearing about? I'm not aware of any > fundamental problem with ref in C++... > Can you show an example of the problem the design is trying to avoid? >
There was a big discussion of recently on the dmd beta mailing list . One of Andrei's posts there explained it all. (Sorry, I don't have a link handy ATM. Shouldn't be too hard to find, though.)