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

using namespace type_safe in test cases causes clashes #139

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

davidhunter22
Copy link
Contributor

Fixes #138

For instance it means types like uint8_t defined in the global names space in <stdint.h> clash with those defined in the type_safe namespce
This patch simply removes the "using namespace type_safe" and uses target using like "using type_safe::index_t;"
See #138
@foonathan foonathan merged commit f43f4e5 into foonathan:main Nov 15, 2022
@foonathan
Copy link
Owner

Thank you.

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

Successfully merging this pull request may close these issues.

Clashes with type like uint8_t
2 participants