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 ( ) ;
(C++26부터)

만약 * this 가 값을 가지고 있는 경우, 소유한 객체를 std:: allocator_traits < Allocator > :: destroy 를 사용하여 파괴한 후 저장 공간을 할당 해제합니다.

그 외의 경우, 아무 작업도 수행하지 않습니다.

만약 T 불완전한 타입 인 경우, 프로그램은 형식에 맞지 않습니다.