Will D always have a way to rebind an arbitrary data type?
FeepingCreature
feepingcreature at gmail.com
Wed Sep 29 10:30:14 UTC 2021
On Wednesday, 29 September 2021 at 07:27:50 UTC, FeepingCreature
wrote:
> The only recourse I can see offhand, without language changes,
> would be to laborously build an "equivalent but mutable type"
> out of `void[size_t.sizeof]` and `ubyte[size_t.sizeof]`
> fragments.
I've done this: https://code.dlang.org/packages/rebindable
https://forum.dlang.org/thread/qnzxruolyeozohflretb@forum.dlang.org
More information about the Digitalmars-d
mailing list