alpaka-group / llama

A Low-Level Abstraction of Memory Access
https://llama-doc.rtfd.io/
Mozilla Public License 2.0
79 stars 10 forks source link

Missing feature: destruct fields #739

Open bernhardmgruber opened 1 year ago

bernhardmgruber commented 1 year ago

LLAMA has an API constructFields(view) which runs the constructors of all fields. A counterpart to destructure all fields is missing though.

bernhardmgruber commented 1 year ago

I just had a closer look at this and LLAMA for now forbids types in its record dimension which are not trivially destructible. That makes sense, because who should run the destructor, if multiple (shallow) views are in place and blobs don't have type information.