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

Add noexcept in DataIter, InputSplit #506

Merged
merged 2 commits into from
Mar 2, 2019
Merged

Add noexcept in DataIter, InputSplit #506

merged 2 commits into from
Mar 2, 2019

Conversation

arcadiaphy
Copy link
Member

@arcadiaphy arcadiaphy commented Feb 28, 2019

This PR is created in addition to apache/mxnet#14223 and dmlc/mshadow#369 to address memory issues in mxnet exit.

When TensorContainer's destructor becomes noexcept(false), classes that reference it also become noexcept(false) implicitly in destruction.

If inherited class's destructor is noexcept(false) and its base class has a virtual destructor, then base class's destructor should also be added noexcept(false) to successfully compile.

@szha
Copy link
Member

szha commented Mar 1, 2019

@arcadiaphy thanks for the fix. would you mind also look into the lint errors?

@arcadiaphy
Copy link
Member Author

@szha lint is ok

@szha szha merged commit 55f3c7b into dmlc:mxnet-stable Mar 2, 2019
@arcadiaphy arcadiaphy deleted the fix_release branch March 2, 2019 03:41
@szha szha mentioned this pull request Mar 3, 2019
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