How to do alligned allocation?

Quirin Schroll at
Fri Sep 30 15:57:22 UTC 2022

When I do `new void[](n)`, is that buffer allocated with an 
alignment of 1 or what are the guarantees? How can I set an 
alignment? Also, is the alignment of any type guaranteed to be a 
power of 2?

More information about the Digitalmars-d-learn mailing list