turning an array of structs into a struct of arrays

Laeeth Isharc via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jul 3 17:22:48 PDT 2015


>
> Not necessarily the best solution to the problem, but I just 
> wanted to show this because I think it's kinda cool:
>
> https://gist.github.com/John-Colvin/103d3c064ad6cb4cf435#file-transformmembers-d


Very impressive - now I have to try to understand how it works...!


More information about the Digitalmars-d-learn mailing list