Why can't we derive struct's?

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Dec 24 18:10:16 UTC 2018


On Mon, Dec 24, 2018 at 05:54:45PM +0000, 12345swordy via Digitalmars-d wrote:
> 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.
[...]
> 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++!***
[...]

If you can convince him, that would be great!


T

-- 
Designer clothes: how to cover less by paying more.


More information about the Digitalmars-d mailing list