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

Rule:  PCA#001Checked automatically with code checker

Synopsis:Don't use malloc, calloc, realloc, free and cfree for memory management
Severity Level:1
Category:Parts of C++ to Avoid


In C malloc, realloc and free are used to allocate memory explicitly on the heap. In C++ one should use automated memory management by means of smart pointers instead.