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
<
Allocator
>
::
destroy
and then the storage is deallocated
.