Why can't we derive struct's?
12345swordy
alexanderheistermann at gmail.com
Mon Dec 24 18:17:30 UTC 2018
On Monday, 24 December 2018 at 18:10:16 UTC, H. S. Teoh wrote:
> 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
If I were to write a DIP on this, I have to wait to see if
R-Values is going to be accepted or not.
Alex
More information about the Digitalmars-d
mailing list