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

Run field constructors when views are allocated #377

Merged
merged 1 commit into from
Sep 22, 2021

Conversation

bernhardmgruber
Copy link
Member

@bernhardmgruber bernhardmgruber commented Sep 21, 2021

This PR is motivated by the need to lift the restriction on field types to be trivially_constructible. It applies the following changes:

  • allocView will run field constructors
  • add allocViewUninitialized to still have uninitialized views
  • add constructFields
  • remove isAllowedFieldType
  • add tree::Mapping::arrayDims()
  • enable many unit tests relying on fields being initialized
  • add tests for uninitialized views and for explicit construction

* allocView will run field constructors
* add allocViewUninitialized to still have uninitialized views
* add constructFields
* remove isAllowedFieldType
* add tree::Mapping::arrayDims()
* enable many unit tests relying on fields being initialized
* add tests for uninitialized views and for explicit construction
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

Successfully merging this pull request may close these issues.

1 participant