On Saturday, 26 July 2014 at 19:44:49 UTC, Iain Buclaw wrote:
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...
NB. This is purely for the purpose of demangling in binutils.