change object class
Imperatorn
johan_forsberg_86 at hotmail.com
Fri Sep 22 21:37:37 UTC 2023
On Friday, 22 September 2023 at 14:03:40 UTC, Vitaliy Fadeev
wrote:
> On Friday, 22 September 2023 at 12:53:28 UTC, Imperatorn wrote:
>> On Friday, 22 September 2023 at 03:33:08 UTC, Vitaliy Fadeev
>> wrote:
>>> [...]
>>
>> What I mean is, why not use other language constructs like
>> mixins or inheritance with some mapping for example?
>
> Can you give an example?
You're basically just describing polymorphism. I can post an
example tomorrow, it's midnight here now.
More information about the Digitalmars-d-learn
mailing list