-
Notifications
You must be signed in to change notification settings - Fork 10
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
Static assert that field types are trivial #236
Labels
bug
Something isn't working
Comments
For a LLAMA view itself, it suffices that the field types are trivially constructible and destructible. But rather than forbidding copies of non-trivially-copyable types, we could actually just run their copy dtors. |
bernhardmgruber
added a commit
to bernhardmgruber/llama
that referenced
this issue
Jun 3, 2021
bernhardmgruber
added a commit
to bernhardmgruber/llama
that referenced
this issue
Jun 3, 2021
bernhardmgruber
added a commit
to bernhardmgruber/llama
that referenced
this issue
Jun 3, 2021
bernhardmgruber
added a commit
that referenced
this issue
Jun 3, 2021
bernhardmgruber
added a commit
to bernhardmgruber/llama
that referenced
this issue
Jul 9, 2021
bernhardmgruber
added a commit
to bernhardmgruber/llama
that referenced
this issue
Jul 9, 2021
…tructible_v without args Related to: alpaka-group#236
bernhardmgruber
added a commit
that referenced
this issue
Jul 9, 2021
…tructible_v without args Related to: #236
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LLAMA assumes in many places that the types used in fields are trivially constructible, copyable and destructible. This should be asserted on the types used in the record domain. If this property is not fulfulled, LLAMA should fail to compile to prevent unwanted results.
The text was updated successfully, but these errors were encountered: