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

Let RangePolicy converting constructor take other policy by ref #3202

Conversation

dalg24
Copy link
Member

@dalg24 dalg24 commented Jul 21, 2020

Pushing uncontroversial drive-by change from #3196 because we don't have yet reached an agreement on the design for the policy types.

@nliber
Copy link
Contributor

nliber commented Jul 22, 2020

The change looks fine, but if we are changing this anyway, shouldn't we use member initializers instead of using assignment in the body of the constructor? Besides being consistent with the other constructors, it is also better practice.

@dalg24
Copy link
Member Author

dalg24 commented Jul 22, 2020

The change looks fine, but if we are changing this anyway, shouldn't we use member initializers instead of using assignment in the body of the constructor? Besides being consistent with the other constructors, it is also better practice.

Done

@dalg24 dalg24 merged commit 87b5687 into kokkos:develop Jul 22, 2020
@dalg24 dalg24 deleted the range_policy_converting_constructor_take_by_reference branch July 22, 2020 19:36
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.

None yet

3 participants