-
Notifications
You must be signed in to change notification settings - Fork 39
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
Use hash based IDs for type instead of a pointer to static data #97
Labels
Milestone
Comments
The |
Fixed in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
For type id, we use the address of a static variable. This is a problem. For instance, this can create problems in DLLs (#80) and some compiler can optimize them with the default settings for production build (#96).
Describe the solution you'd like
We should generate a unique hash for each type that is reproducible and stable between compilers and platform. This is possible and proven by TheLartians/StaticTypeInfo
The text was updated successfully, but these errors were encountered: