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

Rule:  OAL#008Checked automatically with code checker

Synopsis:Do not use "delete" to delete raw pointers inside smart pointers
Severity Level:1
Category:Object Allocation


All smart pointers are wrappers around raw pointers. The raw pointer can be obtained from the smart pointer via the "get" method. This raw pointer should never be deleted, because memory is managed automatically by the enclosing smart pointer.