Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a new object interface for instance ids #11

Open
cgrinker opened this issue Jun 1, 2017 · 0 comments
Open

Create a new object interface for instance ids #11

cgrinker opened this issue Jun 1, 2017 · 0 comments

Comments

@cgrinker
Copy link
Contributor

cgrinker commented Jun 1, 2017

Some objects need to be able to provide unique instance ids. Create a default provider and base class implementation for this. A simple incrementing id will suffice. Theoretically other implementations could exist, for example mapping object instances to an entity id.

This is primarily meant to be used as a way to unique objects, without relying on pointers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant