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

std::auto_ptr is depricated in c++ 11 #70

Open
MartinWenge opened this issue May 4, 2017 · 3 comments
Open

std::auto_ptr is depricated in c++ 11 #70

MartinWenge opened this issue May 4, 2017 · 3 comments
Labels

Comments

@MartinWenge
Copy link
Member

in some files the std::auto_ptr is used and should be replaced in newer standards by std::unique_ptr or maybe std::shared_ptr. Should we change this or hope that auto_ptr will still be supported?

@hrabbel
Copy link
Member

hrabbel commented May 4, 2017

This is related to issue #57 , I suppose. It appears auto_ptr is used in the Loki-related headers. So, if we decide to remove the use of Loki, then this will also be resolved. It seems it's about time to seriously discuss this over a coffee soon...

@MartinWenge
Copy link
Member Author

Ok, but I'm quite sure this is going to be hard work :o)

@Bondoki
Copy link
Member

Bondoki commented May 8, 2017

Can you point to an explicit usage of that type of pointer?
All pointer definition should be well defined if we stick with the LOKI-library see extern/SmartPtr.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants