Skip to content

Fix array_proxy move constructor. #2537

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

Merged
merged 2 commits into from
Jun 16, 2019
Merged

Conversation

umar456
Copy link
Member

@umar456 umar456 commented Jun 14, 2019

No description provided.

@umar456 umar456 added the fix label Jun 14, 2019
@umar456 umar456 requested a review from 9prady9 June 14, 2019 15:19
9prady9
9prady9 previously approved these changes Jun 14, 2019
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.

We should make a note to fix this properly in 4.0

* Sets the "permissive-" flag which instructs the compiler to enforce
  strict compliance to the standard
* Sets the Zc:__cplusplus flag which corrects the __cplusplus defintion
  so that move constructors are enabled in MSVC
# compiler
check_cxx_compiler_flag(/Zc:__cplusplus cplusplus_define)
if(cplusplus_define)
add_compile_options(/Zc:__cplusplus)
Copy link
Member

Choose a reason for hiding this comment

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

👍

@9prady9 9prady9 merged commit d2c94cb into arrayfire:master Jun 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants