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

Remove implicit casts to/from ManagedArray #285

Merged
merged 4 commits into from
Oct 29, 2024

Conversation

adayton1
Copy link
Member

@adayton1 adayton1 commented Oct 29, 2024

  • Remove optional support for implicitly casting between raw pointers and ManagedArrays
  • Remove CHAI_ENABLE_IMPLICIT_CONVERSIONS configuration option
  • Use makeManagedArray and ManagedArray::data to perform explicit conversions
  • Remove operator== and operator!= overloads for raw pointers (can easily accomplish this using ManagedArray::data)

@adayton1 adayton1 changed the title Remove implicit casts Remove ManagedArray implicit casts Oct 29, 2024
Copy link
Contributor

@robinson96 robinson96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adayton1 adayton1 merged commit 7ba2ba8 into develop Oct 29, 2024
14 checks passed
@adayton1 adayton1 deleted the feature/dayton8/rm_implicit_casts branch October 29, 2024 20:38
@adayton1 adayton1 changed the title Remove ManagedArray implicit casts Remove implicit casts to/from ManagedArray Oct 29, 2024
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.

4 participants