-
Notifications
You must be signed in to change notification settings - Fork 5
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
[FEATURE] shape construction from std span and initializer_list #101
Comments
this can be bolted onto |
(this is useful for unit tests) |
OK std::span can have a static size so we now the # of dimensions of the result. BUT the size of an initializer_list is not so we need to force it ? |
huh neither span nor initializer_list have a static size? (except if you mean in a constexpr context) |
std::span<T,N> is a thing actually. Assert that it matches with what ? in the case of |
oh right :D
that the runtime size matches the static size
|
via constructors or make/factory function (to avoid std::vector style () vs {} construction ambiguities)
The text was updated successfully, but these errors were encountered: