Why can't we derive struct's?

12345swordy alexanderheistermann at gmail.com
Mon Dec 24 17:54:45 UTC 2018


On Monday, 24 December 2018 at 17:08:33 UTC, H. S. Teoh wrote:
> From what I understand, Walter dislikes implicit conversions 
> because of
> the horrible mess in C++ caused by implicit conversions and the 
> associated obfuscated tangle of rules that nobody except 
> language lawyers would even begin to understand.
>
>
> T

I understand his concerns. However it doesn't change the fact 
that people use alias this as way of implicit casting, and people 
desire custom implicit conversions!
*** We can introduce implicit conversations without introducing 
the mess that is C++!***

Alex



More information about the Digitalmars-d mailing list