-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Idea. I build the same thing at work, but the data lives "exploded" in a single container.
mult_vector<int, float, bool> data;
data.push_back(42, 0.25f, true);
data[0] // std::tuple<int, float, bool>
template<typename Ts...> class multi_vector { std::tuple<std::vector<Ts>...> c_data; };
You can basically offer a SOA container which looks and feels like a common vector.
Metadata
Metadata
Assignees
Labels
No labels