On 12/16/2012 02:03 PM, js.mdnq wrote: > That looks like it might be pretty close. I was also thinking that one > could just use mixin templates of trying to do it with structs directly. i dunno if this is what u want, but have a look: http://dpaste.dzfl.pl/f5616d77 cheers, r_m_r