query: How shared_ptr detects if it has to call delete[] or delete
positive_passages.docid: 151330
positive_passages.text: smart pointers (boost) explained
negative_passages.docid: 93298
negative_passages.text: If an array name is treated as a pointer, why do I get a compile time error of Lvalue required when incrementing an array?
negative_passages.docid: 48515
negative_passages.text: Destructors of builtin types (int, char etc..)
negative_passages.docid: 44331
negative_passages.text: What is the behavior of "delete" with stack objects?
negative_passages.docid: 64389
negative_passages.text: Why do we even need the "delete[]" operator?
negative_passages.docid: 78909
negative_passages.text: Trigger calls in cascade deleting
negative_passages.docid: 110077
negative_passages.text: Is it good practice to NULL a pointer after deleting it?
negative_passages.docid: 8984
negative_passages.text: What is the difference between new/delete and malloc/free?
negative_passages.docid: 103442
negative_passages.text: Why do function pointers all have the same value?
negative_passages.docid: 37132
negative_passages.text: In either C or C++, should I check pointer parameters against NULL/nullptr?
negative_passages.docid: 103263
negative_passages.text: How can I determine if a C++ object has been deallocated?
negative_passages.docid: 129212
negative_passages.text: When do I need to declare my own destructor?
negative_passages.docid: 78034
negative_passages.text: Is std::unique_ptr required to know the full definition of T?
negative_passages.docid: 148010
negative_passages.text: Is there a reason to call delete in C++ when a program is exiting anyway?
negative_passages.docid: 30715
negative_passages.text: Is the destructor called if the constructor throws an exception?
negative_passages.docid: 151684
negative_passages.text: Why has the destructor been called only once?
negative_passages.docid: 83845
negative_passages.text: How can I take a single element out of a boost library (e.g. shared_pointer)?