On Wednesday, 26 August 2015 at 13:12:38 UTC, Per Nordlöw wrote:
On Wednesday, 26 August 2015 at 09:20:33 UTC, Ilya Yaroshenko wrote:
Only if you would use a shared allocator like Mallocator or GCAllocator.

Are there cases where a non-shared version of Mallocator or GCAllocator is motivated?

Mallocator and GCAllocator are always shared.
Possibly D will have ThreadLocalGCAllocator in the future.

If not could, maybe the shared-ness could be inferred?

`aa` function just uses shared type for shared argument and vise versa.
GCAllocator.instance and Mallocator.instance. are always shared.

Reply via email to