An important pull request: accessing shared affix for immutable data

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Fri Feb 12 17:42:08 PST 2016


On 02/13/2016 03:35 AM, Andrei Alexandrescu wrote:
> Folks who defined refcounted types use the special AffixAllocator
> internally in an encapsulated manner. They define it, they use it -
> outside intervention is not possible. Those who use their own allocation
> calls and then use assumeUnique cannot use it on the new types. Or maybe
> I'm not understanding something.

Ah probably this is the important point I have totally missed. So you
envision this kind of metadata support to be only available via specific
type of allocator, AffixAllocator, and not being supported by most of them?


More information about the Digitalmars-d mailing list