Reading compound types that contain arrays #1043
Unanswered
PhilipDeegan
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I've got a compound type that looks as follows from
h5dump
it's not so obvious to me how I am supposed to access this. I've tried, making a custom class that contains
std::array<std::int32_t, 3>
but it fails at runtime (maybe it should work tho) and I've tried a struct containing vectors but it doesn't compile due to not trivially copyable.And looking at the example
src/examples/create_datatype.cpp
it's not so clear how I am supposed to go about this.Do I need to commit a custom data type to the file? What should that look like?
Suggestions welcome.
Beta Was this translation helpful? Give feedback.
All reactions