Binding rvalues to ref parameters redux

Timon Gehr timon.gehr at gmx.ch
Mon Apr 1 20:17:33 UTC 2019


On 01.04.19 18:43, bitwise wrote:
> ... > As far as using const, I don't really think it's that bad.
> 

Yes, it really is that bad.

> If I had to have my rvalues qualified with const, that would be fine. To 
> be honest, I don't think I've written any C/C++ code that casts const 
> away in years, ...

There is no D const in C++.


More information about the Digitalmars-d mailing list