2 ms·
very simple minimally intrusive SOA/AOS conversion using templates: https://godbolt.org/z/rBeWOA https://godbolt.org/z/rBeWOA I just typed it in, I'm sure ther
by gpderetta 7y ago
very simple minimally intrusive SOA/AOS conversion using templates: https://godbolt.org/z/rBeWOA https://godbolt.org/z/rBeWOA
I just typed it in, I'm sure there are errors. I borrowed to_tuple from somewhere, that's the real hack. Real reflection can't arrive too soon.
edit: added soa2aos example