Files
2025-10-25 03:02:53 +03:00

810 B
Raw Permalink Blame History

[polymorphic.dtor]

20 Memory management library [mem]

20.4 Types for composite class design [mem.composite.types]

20.4.2 Class template polymorphic [polymorphic]

20.4.2.4 Destructor [polymorphic.dtor]

🔗

constexpr ~polymorphic();

1

#

Mandates: T is a complete type.

2

#

Effects: If *this is not valueless, destroys the owned object using allocator_traits::destroy and then the storage is deallocated.