On 28 October 2013 06:46, Peter Alexander <peter.alexander.au@gmail.com> wrote:
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...

I reported that as a deficiency over a year ago, I recall discussion, and thought it was to be fixed. Guess it didn't eventuate.