
12 Jul
2013
12 Jul
'13
6:03 p.m.
Also, to complete the entity-component part of the idea of mixin: 3. is there a way to go through all the instances of the same type? for example: mutate(o) .add<xml_serializer>() .add<book_data>(); Assuming there is more than one instance composed of book_data, is there a way to list or just apply a function to all currently instanciated book_data? If not, I think a way to do it would be useful in high performance cases (to update all the components of the same type in one pass, avoiding cache misses and enabling some possible concurrent update setup). But as it's not the core feature I think it would be a nice update. Joel Lamotte