Search code examples
Why is the syntax of the destructor ~classname?...


c++destructorlanguage-designexplicit-destructor-call

Read More
Why does the standard disallow a pseudo-destructor call with a name of scalar type?...


c++templateslanguage-designexplicit-destructor-callpseudo-destructor

Read More
Correct usage of placement-new and explicit destructor call...


c++placement-newexplicit-destructor-call

Read More
why is the destructor call after the std::move necessary?...


c++memory-managementc++11move-semanticsexplicit-destructor-call

Read More
Various ways of calling C++ object destructor...


c++language-lawyerexplicit-destructor-call

Read More
Is reduction of `constexpr` object lifetime legal in C++?...


c++language-lawyerconstexprexplicit-destructor-call

Read More
Class and member destructors called twice...


c++explicit-destructor-call

Read More
Constructor and Destructor for static member variable (a pointer)...


c++pointersstaticdestructorexplicit-destructor-call

Read More
is it required to call a non-trivial destructor when it is a noop?...


c++memory-managementlanguage-lawyerlifetimeexplicit-destructor-call

Read More
Is calling destructor from a catch block in constructor safe?...


c++constructortry-catchobject-lifetimeexplicit-destructor-call

Read More
Can I call a virtual destructor using a function pointer?...


c++explicit-destructor-call

Read More
Pseudo-destructor call does not destroy an object...


c++language-lawyerdestructorprimitive-typesexplicit-destructor-call

Read More
Why can't constructors be explicitly called while destructors can?...


c++constructordestructorplacement-newexplicit-destructor-call

Read More
Is it allowed to call destructor explicitly followed by placement new on a variable with fixed lifet...


c++c++11lifetimeplacement-newexplicit-destructor-call

Read More
Can I explicitly invoke property destructors so that I can see which one causes problems?...


debuggingc++11destructorexplicit-destructor-call

Read More
Destructing a Single shared_ptr One-by-One...


c++pointersshared-ptrsmart-pointersexplicit-destructor-call

Read More
C++ unintended destructor calls...


c++explicit-destructor-call

Read More
Access member variables after destructor call...


c++explicit-destructor-call

Read More
Is it safe to use placement new on 'this' pointer...


c++raiiplacement-newexplicit-destructor-call

Read More
When should I prevent implicit destruction? How does it work?...


c++destructorexplicit-destructor-call

Read More
Invoke destructor manually and reuse memory...


c++destructorexplicit-destructor-call

Read More
After an object is destroyed, what happens to subobjects of scalar type?...


c++destructorlanguage-lawyerobject-lifetimeexplicit-destructor-call

Read More
Does encapsulated char array used as object breaks strict aliasing rule...


c++placement-newreinterpret-caststrict-aliasingexplicit-destructor-call

Read More
Do we need to explicitly call the destructor for the "simple POD classes" allocated with &...


c++destructorplacement-newexplicit-destructor-call

Read More
BackNext