This needs to be fixed - ref

Nick Treleaven nick at geany.org
Fri Aug 30 10:20:48 UTC 2024


On Thursday, 29 August 2024 at 02:29:21 UTC, Manu wrote:
>> I've heard that C++ references are a complete swamp of special 
>> cases (regardless of lvalue vs rvalue reference).
>>
>
> You've "heard"? I'm sorry, but your qualification to comment on 
> the topic is definitely problematic from here on...

Perhaps you'd like to see what someone who wrote a C++ compiler 
thinks:

> You might also consider the "uniformity" of the ref type in 
> C++. It's awful - it's a special case EVERYWHERE in the C++ 
> type system! It just does not fit as a type qualifier.

https://forum.dlang.org/post/m60oa4$kd5$1@digitalmars.com


More information about the Digitalmars-d mailing list