-
Notifications
You must be signed in to change notification settings - Fork 161
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
Automagic serialization #586
Conversation
7660c4b
to
7498eb8
Compare
What are we doing with broadcast? |
57c6c15
to
c537faa
Compare
if `val = boost::multi_array<...>`, `val` should have the same size than the new one
Codecov Report
@@ Coverage Diff @@
## master #586 +/- ##
=========================================
Coverage ? 79.34%
=========================================
Files ? 65
Lines ? 3534
Branches ? 0
=========================================
Hits ? 2804
Misses ? 730
Partials ? 0 Continue to review full report at Codecov.
|
|
||
static constexpr size_t ndim = 1; | ||
static constexpr size_t recursive_ndim = ndim + inspector<value_type>::recursive_ndim; | ||
static constexpr bool is_trivially_copyable = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the documentation I gather that this answers the question whether the inner type is trivially copyable? Don't you need the same thing as for std::vector<T>
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't support recursivity with T*, I can try to add it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice PR.
All types are supported