query: static_pointer_cast with custom delete
positive_passages.docid: 28830
positive_passages.text: Type erasure in C++: how boost::shared_ptr and boost::function work?
negative_passages.docid: 6299
negative_passages.text: Conversion of pointer-to-pointer between derived and base classes?
negative_passages.docid: 8984
negative_passages.text: What is the difference between new/delete and malloc/free?
negative_passages.docid: 64389
negative_passages.text: Why do we even need the "delete[]" operator?
negative_passages.docid: 39543
negative_passages.text: Is it legal/well-defined C++ to call a non-static method that doesn't access members through a null pointer?
negative_passages.docid: 20575
negative_passages.text: When a function has a specific-size array parameter, why is it replaced with a pointer?
negative_passages.docid: 54506
negative_passages.text: How to avoid memory leak with shared_ptr?
negative_passages.docid: 96400
negative_passages.text: std::shared_ptr in an std::initializer_list appears to be getting destroyed prematurely
negative_passages.docid: 68513
negative_passages.text: How to convert "pointer to pointer type" to const?
negative_passages.docid: 78486
negative_passages.text: Weird Behaviour with const_cast
negative_passages.docid: 19125
negative_passages.text: What is the advantage of using dynamic_cast instead of conventional polymorphism?
negative_passages.docid: 145465
negative_passages.text: Why can't static_cast be used to down-cast when virtual inheritance is involved?
negative_passages.docid: 30868
negative_passages.text: When and how are static data initialized in C++?
negative_passages.docid: 89763
negative_passages.text: What happens if you static_cast invalid value to enum class?
negative_passages.docid: 148586
negative_passages.text: How to overload operator==() for a pointer to the class?
negative_passages.docid: 70505
negative_passages.text: Why can a const member function modify a static data member?
negative_passages.docid: 31737
negative_passages.text: Why aren't static data members allowed in local classes?