Namespaces
Variants

std::indirect<T, Allocator>:: ~indirect

From cppreference.net
Memory management library
( exposition only* )
Allocators
Uninitialized memory algorithms
Constrained uninitialized memory algorithms
Memory resources
Uninitialized storage (until C++20)
( until C++20* )
( until C++20* )
( until C++20* )

Garbage collector support (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
constexpr ~indirect ( ) ;
(desde C++26)

Si * this no está sin valor, destruye el objeto contenido utilizando std:: allocator_traits < Allocator > :: destroy y luego se desasigna el almacenamiento.

De lo contrario, no hace nada.

Si T es un tipo incompleto , el programa está mal formado.