Replies: 1 comment
-
All identifiers are plain integral values, and they are returned as is from the registry. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, first off, thanks for providing this lib, I just got on it and really like the ability to pack data together for easy SIMD with little requirements on existing architecture.
Anyways back to my question, would it go against best-practices to wrap entities in class and have the ctor/dtor do cleanup from the registry it uses? I would like to use share_ptr to manage lifetime of entities because it makes async operations easier, where i can pass either a weak ptr if operations do not need to complete, or a shared_ptr if i need to guarantee an operation completes.
Thank you,
vincent
Beta Was this translation helpful? Give feedback.
All reactions