Skip to content

Conversation

@umar456
Copy link
Member

@umar456 umar456 commented Jun 26, 2020

Add nothrow move constructors for dim4. Array, SparseArray

Description

Create move constructors and move assignment operators for Array, SparseArray,
dim4. This adds move constructors for dim4 so this cannot be back ported.

Checklist

  • Rebased on latest master
  • Code compiles
  • Tests pass
  • Functions added to unified API
  • Functions documented

@umar456 umar456 added this to the 3.8.0 milestone Jun 26, 2020
Copy link
Member

@9prady9 9prady9 left a comment

Choose a reason for hiding this comment

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

No throw move constructors for CPU backend Array are not added. Any specific reason ?

@umar456
Copy link
Member Author

umar456 commented Jun 26, 2020

That static check and constructor was added in the osx_fixes PR. I couldn't add it to these classes because of dim4's move assignment operator and constructor.

@9prady9
Copy link
Member

9prady9 commented Jun 26, 2020

Got it. I didn't pull latest master after that PR merge, hence when I checked the file locally didn't find them in CPU backend.

@9prady9 9prady9 merged commit 0308a5c into arrayfire:master Jul 9, 2020
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.

2 participants