Search code examples
Why should I declare a virtual destructor for an abstract class in C++?...


c++inheritancevirtual-destructor

Read More
When to use virtual destructors?...


c++polymorphismshared-ptrvirtual-destructor

Read More
Can virtual functions be inlined...


c++classinlinevirtual-destructor

Read More
Vector of polymorphic objects and unique_ptr...


c++polymorphismunique-ptrvirtual-destructor

Read More
Why unique-ptr doesn't check base class to virtual destructible?...


c++c++11polymorphismunique-ptrvirtual-destructor

Read More
Do I need to specify virtual on the sub-classes methods as well?...


c++inheritancevirtual-destructor

Read More
Possible memory leak without a virtual destructor?...


c++polymorphismdynamic-memory-allocationvirtual-destructor

Read More
Why does dynamic_cast need the base class to have a virtual destructor?...


c++inheritancedynamic-castvirtual-destructor

Read More
Problem with virtual destructor when using templated operator delete...


c++delete-operatorvirtual-destructor

Read More
What is this error message about implicitly deleted virtual destructors?...


c++gccc++11virtual-destructor

Read More
C++: Inheriting from std::map...


c++inheritancestdmapvirtual-destructor

Read More
Protected non-virtual destructor in the base class...


c++protectedvirtual-destructor

Read More
C++ Memory Layout: Questions about multiple inheritance, virtual destructors, and virtual function t...


c++multiple-inheritancememory-layoutvirtual-destructorvirtual-table

Read More
Is there a use for making a protected destructor virtual?...


c++inheritanceprotectedvirtual-destructor

Read More
C++: Implementation of virtual destructor necessary when using inherited structs with only propertie...


c++virtual-destructor

Read More
Is there any automated way to implement post-constructor and pre-destructor virtual method calls?...


c++methodsvirtual-destructor

Read More
When should you not use virtual destructors?...


c++virtual-functionsvirtual-destructor

Read More
Virtual destructor and memory deallocation...


c++heap-memoryvirtual-destructor

Read More
Virtual destructor - who calls underlying free()?...


c++dllheap-memoryvirtual-destructor

Read More
C++ Error when using virtual destructor...


c++classinheritancevirtual-destructor

Read More
Default to making classes either `final` or give them a virtual destructor?...


c++c++11finalvirtual-destructor

Read More
Is the destructor of a derived class virtual by-default if the base class destructor is virtual?...


c++polymorphismvirtual-destructor

Read More
Intel C++ compiler and Wnon-virtual-dtor flag gives (wrong?) warning...


c++compiler-warningsiccvirtual-destructor

Read More
Why does a virtual destructor write to memory?...


c++gccvirtual-destructorgcc4

Read More
C++: Can the destructor be the only virtual function in a class?...


c++c++11destructorvirtual-destructor

Read More
Deriving from an abstract base with a user-declared dtor and move-support...


c++c++11inheritancemove-semanticsvirtual-destructor

Read More
Are virtual destructors inherited?...


c++inheritancevirtual-destructor

Read More
deleted function 'virtual Classname::~Classname()' overriding non-deleted function VIRTUAL D...


c++destructorvirtual-destructor

Read More
segmentation fault with large number of shared_ptr...


c++constructorshared-ptrvirtual-destructormake-shared

Read More
Virtual destructor, what would happen I didnt have a destructor in the derived class?...


c++destructorvirtual-destructor

Read More
BackNext