Const ref and rvalues again...

jerro a at a.com
Wed Oct 17 21:24:08 PDT 2012


On Thursday, 18 October 2012 at 03:31:41 UTC, Jonathan M Davis 
wrote:
> On Thursday, October 18, 2012 05:07:52 Malte Skarupke wrote:
>> My propsed solution is this:
>> - Make functions that take "ref in" arguments also accept 
>> rvalues.
>
> There was some discussion of this, though that seems to me to 
> be basically the
> same as making const ref take rvalues only worse.

What would be the problem with const ref taking rvalues?


More information about the Digitalmars-d mailing list