[Issue 2005] dynamic va_arg looping/ align info in TypeInfo

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 2 07:09:56 PDT 2017


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

Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dlang-bugzilla at thecybershad
                   |                            |ow.net
         Resolution|---                         |WONTFIX

--- Comment #1 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
As I understand, C-style variadics are provided in D only as a low-level
interoperability feature with existing C code. Today, variadic IFTI template
functions should be used instead in D code.

(In reply to Fawzi Mohamed from comment #0)
> Such functions could be readily implemented for dmd if typeinfo would give
> access to the alignment information of its type (.talign?).

TypeInfo.talign was added in
https://github.com/dlang/druntime/commit/cbd538f34f8082cc512a05eae3ab23039d8fe1d7.

--


More information about the Digitalmars-d-bugs mailing list