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

Container: Remove DefaultConstructible requirement from template type #58

Merged
merged 3 commits into from
Jan 2, 2020

Conversation

stotko
Copy link
Owner

@stotko stotko commented Jan 2, 2020

In comparison to the C++ standard library, our GPU containers still impose stricter requirements to the template type. Similar to #44 and #45, remove the requirement of being DefaultConstructible to allow for more use cases. Furthermore, fix the clear() function of vector and deque which still required the CopyAssignable property to the type.

@stotko stotko added this to the 1.2.0 milestone Jan 2, 2020
@stotko stotko merged commit e204050 into master Jan 2, 2020
@stotko stotko deleted the nondefault_types branch January 2, 2020 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant