TypeTuple ABI mangling

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Sat Jul 26 12:44:47 PDT 2014


Hi,

TypeTuples have a special mangling convention in the compiler.

As per the docs (ref: http://dlang.org/abi.html)

TypeTuple:
     B Number Arguments


However after some cursory tests, it seems that the most obvious 
examples of, passing a tuple via parameters, returning a tuple, 
declaring a tuple variable, etc... all get lowered before 
mangling.

So at first glance, this mangling convention is redundant.

Unless of course someone can post an example which triggers 
mangling of TypeTuples...

Regards
Iain.


More information about the Digitalmars-d mailing list