Skip to content
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

Consider destructuring of field types #722

Open
bernhardmgruber opened this issue Mar 2, 2023 · 0 comments
Open

Consider destructuring of field types #722

bernhardmgruber opened this issue Mar 2, 2023 · 0 comments

Comments

@bernhardmgruber
Copy link
Member

LLAMA can only rearrange fields inside the record dimension, but considers the final types in the leaf-fields as atomic. We could consider changing that and allow LLAMA to even take apart user defined types. A good example for that would be std::optional<T>, which is basically a record consisting of a T and a bool. LLAMA could store those two pieces in different locations but always put them back together when loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant