Alligned gc allocation of struct

Sjoerd Nijboer dlang at sjoerdnijboer.com
Fri Oct 5 20:41:15 UTC 2018


On Friday, 5 October 2018 at 14:55:04 UTC, Dennis wrote:
> On Friday, 5 October 2018 at 10:03:35 UTC, Kagamin wrote:
>> GC allocations are 16 bytes aligned.
>
> Is that an implementation detail or well-defined behavior?

The GC_Allocator doesn't support alignedAllocate from the 
IAllocate interface, which is kinda unfortunate.
So I'm a little worried that this might change in the future.


More information about the Digitalmars-d-learn mailing list