Can we just have struct inheritence already?
Walter Bright
newshound2 at digitalmars.com
Fri Jun 14 02:10:12 UTC 2019
On 6/13/2019 5:35 PM, Timon Gehr wrote:
> It is obvious that allocation has to be pure. However, accessing the address of
> your data is impure. The runtime systems of pure functional languages also
> allocate memory, but the addresses are not exposed to the pure user code.
I know that technically you are correct, but I'm not so sure it matters for D's
use of purity.
More information about the Digitalmars-d
mailing list