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.
typeidoperator dereferences aNULLpointer.dynamic_castoperator 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 |