core.runtime.GC memory alignment

Peter Alexander peter.alexander.au at gmail.com
Sun Oct 27 13:46:50 PDT 2013


On Sunday, 27 October 2013 at 20:30:05 UTC, Andrei Alexandrescu 
wrote:
> Yah, something like that. I found align(NNN) underspecified and 
> underpowered for my work with allocators. As a simple matter, 
> NNN must be a literal, not a compile-time expression. You can't 
> even write e.g. align(size_t.alignof), which is fairly basic.

Yeah I noticed the literal requirement as well and thought it was 
quite odd...



More information about the Digitalmars-d mailing list