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

C++11 using deprecated method "std::auto_ptr" instead of "std::unique_ptr" #231

Open
ghost opened this issue Jul 30, 2015 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented Jul 30, 2015

When used c ++ 11 directive the g++ show many warnings, because staff files use "std::auto_ptr",

This class is deprecated, i suggest use
"

if __cplusplus > 199711L

std::unique_ptr ...

else

std::auto_ptr ..

endif

"
or similar instead of "std::auto_ptr" code.

but it is not a problem is a warning.

Ty

@ghost ghost changed the title C++11 using deprecated method "std::auto_ptr" instead "std::unique_ptr" C++11 using deprecated method "std::auto_ptr" instead of "std::unique_ptr" Jul 30, 2015
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

0 participants