std::type_info:: ~type_info
From cppreference.net
C++
Utilities library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Type support
| Basic types | |||||||||||||||||||||
| Fixed width integer types (C++11) | |||||||||||||||||||||
| Fixed width floating-point types (C++23) | |||||||||||||||||||||
|
|||||||||||||||||||||
| Numeric limits | |||||||||||||||||||||
| C numeric limits interface | |||||||||||||||||||||
| Runtime type information | |||||||||||||||||||||
|
|||||||||||||||||||||
std::type_info
| Member functions | ||||
|
type_info::~type_info
|
||||
|
(until C++20)
|
||||
|
(C++11)
|
||||
|
virtual
~type_info
(
)
;
|
||
std::type_info 타입의 객체를 소멸합니다. 이 소멸자는 public virtual로 선언되어 std::type_info 를 다형성 클래스로 만듭니다.
참고 사항
객체의 동적 타입은 std::type_info 서브오브젝트를 typeid 연산자로 검사할 수 있습니다.
구현체가 프로그램 종료 시 어떤 std::type_info 객체에 대해 이 소멸자를 호출하는지는 명시되어 있지 않습니다.