Invalid C++ specific operations
C++ specific invalid operations occur
Description
These checks on C++ code operations determine whether the operations are valid. The checks look for a range of invalid behaviors:
Array size is not strictly positive.
typeid
operator dereferences aNULL
pointer.dynamic_cast
operator performs an invalid cast.(C++11 and beyond) The number of array initializer clauses exceeds the number of array elements to initialize.
(C++11 and beyond) The pointer argument to a placement new operator does not point to enough memory.
Diagnosing This Check
Examples
Check Information
Group: C++ |
Language: C++ |
Acronym: CPP |