If you could make any changes to D, what would they look like?
first.last at gmail.com
Wed Oct 20 17:28:30 UTC 2021
On Wednesday, 20 October 2021 at 11:41:32 UTC, Adam D Ruppe wrote:
> I don't really think it is worth the hassle but it is
> interesting in that it solves some old syntax worries.
One of the problem C++ has with
objects-with-inheritance-as-value-type is "object slicing".
It is ugly in theory: https://stackoverflow.com/a/14461532
I guess it's one of the reason D doesn't have that, so a
discussion about Object* needs to address that issue.
More information about the Digitalmars-d