Search code examples
Why delete a non-member function?...


c++functionc++17delete-operator

Read More
How can deleting a void pointer do anything other than invoke the global delete operator?...


c++undefined-behaviordelete-operatorvoid-pointers

Read More
Null pointer accessible...


c++pointersexceptionnulldelete-operator

Read More
Free memory from vector of objects inside a function...


c++objectvectormemory-leaksdelete-operator

Read More
Shouldn't `std::shared_ptr` use `std::default_delete` by default?...


c++defaultshared-ptrdelete-operatorc++20

Read More
What is the right way to free a std::vector of pointers in C++?...


c++memoryvectorcontainersdelete-operator

Read More
Segfault on Recursive Tree Traversal/Branch Deletion...


c++recursiontreesegmentation-faultdelete-operator

Read More
Destructor issue with delete[]...


c++memoryvalgrindnew-operatordelete-operator

Read More
Delete operator...


c++linked-listdelete-operator

Read More
Why deleting void* is UB rather than compilation error?...


c++language-lawyerundefined-behaviordelete-operatorvoid-pointers

Read More
What happens during delete of array of pointers in this case?...


c++arraysc++11delete-operator

Read More
Why is delete[] not equivalent to calling delete for each element in C++?...


c++delete-operator

Read More
C++ Delete char**...


c++chardelete-operatorargs

Read More
Deleting char matrix...


c++chardelete-operator

Read More
C++ operator delete override not always used...


c++new-operatorgoogletestdelete-operator

Read More
Deleting 1 element of dynamically allocated array?...


c++dynamic-memory-allocationdelete-operator

Read More
Is it safe to delete every pointer in C++ as a pointer to an array?...


c++arrayspointersdelete-operator

Read More
Segmentation fault using operator delete in C ++...


c++segmentation-faultdelete-operator

Read More
Delete a pointer to pointer (as array of arrays)...


c++pointersdelete-operator

Read More
Is it practically OK to delete object not constructed using the new expression?...


c++c++14new-operatordynamic-memory-allocationdelete-operator

Read More
deleting pointer in vector causes error...


c++c++11pointersdelete-operator

Read More
Deleting a pointer to const (T const*)...


c++constantsdelete-operator

Read More
Issue with new/delete with SecureZeroMemory...


c++winapinew-operatordelete-operatorsecurezeromemory

Read More
Safe/good way to wrap c++ new/delete for multi-threaded environment...


c++mallocinterruptnew-operatordelete-operator

Read More
How to delete a pointer after cast to void* and back...


c++pointerscastingdelete-operatorvoid-pointers

Read More
C++ delete operator without "new"...


c++classdelete-operator

Read More
Create a shallow copy without leaking memory and dangling pointer in C++...


c++memory-leaksdelete-operatorshallow-copy

Read More
C++ , '&&': illegal, right operand has type 'void'...


c++visual-studio-2015logical-operatorsdelete-operator

Read More
Parameter "size" of member operator new[] increases if class has destructor/delete[]...


c++destructornew-operatordelete-operator

Read More
new / delete mismatch...


c++crashlibrariesnew-operatordelete-operator

Read More
BackNext