[Issue 12033] align() for array arguments of functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 20 15:53:13 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=12033

Basile-z <b2.temp at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |b2.temp at gmx.com
         Resolution|---                         |INVALID

--- Comment #1 from Basile-z <b2.temp at gmx.com> ---
This stuff cant work. alignment can only works on real declaration, not
parameters. Also the .ptr address is controlled by the GC. The proper way to do
that is to use AlignedMallocator + makeArray.

--


More information about the Digitalmars-d-bugs mailing list