TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
C++ Coding Standard
Search

Rule:  OAL#012Checked automatically with code checker

Synopsis:Don't use auto_ptr, use unique_ptr instead
Language:C++
Severity Level:2
Category:Object Allocation


Description:

auto_ptr is deprecated as of C++11. Instead, unique_ptr should be used. It has similar functionality, but improved security (no fake copy assignments), added features (deleters) and support for arrays.