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

Replace NamedType with strong_type #58

Closed
PatrickKa opened this issue Jun 23, 2024 · 0 comments · Fixed by #61
Closed

Replace NamedType with strong_type #58

PatrickKa opened this issue Jun 23, 2024 · 0 comments · Fixed by #61
Assignees
Labels
enhancement New feature or request

Comments

@PatrickKa
Copy link
Contributor

PatrickKa commented Jun 23, 2024

I just found out that NamedTypes cannot be used as non-type template parameters, because they are not structural, because they hold the underlying value as a private member variable. Fortunately, there is another great library called strong_type which we can use instead. It even provides a modifier strong::affine_point<D> which I find super convenient.

Also, remove the debug_assert library, since it was required only by NamedType.

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

Successfully merging a pull request may close this issue.

1 participant