-
Notifications
You must be signed in to change notification settings - Fork 407
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
Can I allocate a View w/ both WithoutInitializing & AllowPadding? #324
Comments
trilinos/Trilinos#423 depends on this. |
View<...> a( view_alloc( "label" , WithoutInitializing , AllowPadding ) , N0 , N1 , ... ); |
Thanks @hcedwar ! But see #325. Also, when I try this, I get the following static_assert: ... |
Here is the line of code in question:
|
I'm not sure whether this is a question or bug, so I removed the "question" label. |
The answer to my question is "yes," so I'm calling this bug closed. Thanks all! |
Assigning to Fall, I don't want closed issues on backlog. Its kind of weird to have completion rate higher than 0% on backlog .... |
Is it possible to allocate a View with both WithoutInitializing and AllowPadding? I don't see a way to nest those allocation parameters. Do they just nest, as they do with the string label?
#319 would fix this because I wouldn't need to pass in AllowPadding at run time; the compile-time memory trait would suffice.
The text was updated successfully, but these errors were encountered: