provides a dynamic array (collection) that can be extended or reduced in its template class. The C++ standard does not specify any relation between / and the C memory allocation routines, but and are typically implemented as wrappers around and . Mixing the two families of operations, e.g., 'ing 'ly allocated memory or 'ing 'd memory, causes undefined behavior and in practice can lead to various catastrophic results such as failure to release locks and thus deadlock. See also Allocator (C++) Exception handling Memory pool Pointer (computer programming) Resource Acquisition Is Initialization (RAII) Smart pointers References C++ Articles with example C++ code