Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in delete-operator

If I delete a class, are its member variables automatically deleted?

Why does my program crash when I increment a pointer and then delete it?

Delete a pointer to pointer (as array of arrays)

How do smart pointers choose between delete and delete[]?

Why there is no placement delete expression in C++?

What's the equivalent of new/delete of C++ in C?

delete[] an array of objects

Why is it undefined behavior to delete[] an array of derived objects via a base pointer?

How to control memory allocation strategy in third party library code?

Why are non-placement `new` and `delete` built into the language and not just regular functions?

Time complexity of delete[] operator [duplicate]

The difference between delete and delete[] in C++ [duplicate]

How to delete void pointer?

C++ delete - It deletes my objects but I can still access the data?

Why do I need to delete[]?

Why doesn't GCC optimize out deletion of null pointers in C++?

Is delete[] equal to delete?

Is there any reason to check for a NULL pointer before deleting?

Double free or corruption after queue::push

How does the custom deleter of std::unique_ptr work?