From: john s. <sk...@us...> - 2015-04-29 11:24:27
|
On 29/04/2015, at 5:52 PM, john skaller wrote: Scrub that.. too hard to make it work right. We would have to spell it _tt3<int comma double comma int> because of C's idiot macros. [offsetof in particular but others I defined myself for handling variants] > I am changing the code generator to use templates for some types. > This is a bit experimental. You will need to do this if you don't > want to do a complete rebuild: > > cp src/rtl/flx_compiler_support_bodies.hpp build/release/share/lib/rtl/ > > This change replaces a generated tuple for sizes 2,3,4,5 with > a template, provided the type isn't recursive. For example: > > //TYPE 65766: int * string * int > typedef _tt3<int,_a12409t_65765,int>_tt65766; -- john skaller sk...@us... http://felix-lang.org |