Arrays template arguments and CT data structures

Tom S h3r3tic at remove.mat.uni.torun.pl
Fri Oct 2 16:44:28 PDT 2009


bearophile wrote:
> (after a small discussion on IRC) Tuples may be used for similar purposes, but fixed-sized arrays are simpler to use, simpler to define, and they don't induce compilation/code bloat. (...)

What do you mean by that? So parametrizing a template with a static 
array would cause less bloat than doing so with a tuple? I guess you 
might shave off a few bytes if mangling was shorter, but except that? *gasp*


-- 
Tomasz Stachowiak
http://h3.team0xf.com/
h3/h3r3tic on #D freenode



More information about the Digitalmars-d mailing list