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

Avoid using auto_ptr #132

Closed
brycelelbach opened this issue Jul 10, 2012 · 3 comments
Closed

Avoid using auto_ptr #132

brycelelbach opened this issue Jul 10, 2012 · 3 comments

Comments

@brycelelbach
Copy link
Member

[reported by hkaiser] [Trac time Wed Sep 21 11:16:55 2011] auto_ptr is deprecated in C++11, let's replace it with either boost::scoped_ptr or std::unique_ptr.

@brycelelbach
Copy link
Member Author

[comment by hkaiser] [Trac time Wed Sep 21 14:21:39 2011] Fixed in rev. [5526]

@brycelelbach
Copy link
Member Author

[comment by hkaiser] [Trac time Wed Sep 21 14:40:36 2011] Reopening... boost::scoped_ptr can't be used as it does not expose a release() method. We need to have some means of deciding whether std::unique_ptr is available and use that instead.

@brycelelbach
Copy link
Member Author

[comment by hkaiser] [Trac time Wed Sep 21 15:09:33 2011] Fixed in code in rev. 5244a53 by relying on a pp constant HPX_USE_UNIQUE_PTR. We need to add build system support for this (see #135).

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

No branches or pull requests

1 participant