No we should not support enum types derived from strings

Walter Bright newshound2 at digitalmars.com
Wed May 12 00:22:56 UTC 2021


On 5/11/2021 12:56 PM, deadalnix wrote:
> The fact is that you can't get rid of 1. and support OOP, because polymorphism 
> is a key ingredient of OOP.

Converting a derived class reference to a base class reference is an "implicitly 
convert" operation, not a special-kind-of conversion.


More information about the Digitalmars-d mailing list