์ด๋ฆ„๊ณต๊ฐ„
๋ณ€์ˆ˜

std::type_info

cppreference.com
 
 
Utilities library
์ปดํŒŒ์ผ๋Ÿฌ ์ง€์›
Freestanding and hosted
์–ธ์–ด
ํ‘œ์ค€ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ํ—ค๋”
Named requirements
๊ธฐ๋Šฅ ๊ฒ€์‚ฌ ๋งคํฌ๋กœ (C++20)
์–ธ์–ด ์ง€์› ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ
Concepts ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ (C++20)
Diagnostics ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ
์ผ๋ฐ˜ ๋„๊ตฌ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ
๋ฌธ์ž์—ด ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ
์ปจํ…Œ์ด๋„ˆ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ
๋ฐ˜๋ณต์ž ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ
Ranges ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ (C++20)
์•Œ๊ณ ๋ฆฌ์ฆ˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ
์ˆ˜์น˜ ์•Œ๊ณ ๋ฆฌ์ฆ˜
์ง€์—ญํ™” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ
์ž…/์ถœ๋ ฅ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ
ํŒŒ์ผ์‹œ์Šคํ…œ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ (C++17)
์ •๊ทœํ‘œํ˜„์‹ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ (C++11)
์•„ํ† ๋ฏน ์—ฐ์‚ฐ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ (C++11)
์“ฐ๋ ˆ๋“œ ์ง€์› ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ (C++11)
๊ธฐ์ˆ ์  ํ‘œ์ค€
Symbols index
์™ธ๋ถ€ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ
 
Type support
Basic types
Fundamental types
Fixed width integer types (C++11)
Numeric limits
C numeric limits interface
Runtime type information
Type traits
Primary type categories
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
Type properties
(C++11)
(C++11)
(C++11)
Supported operations
Relationships and property queries
(C++11)
(C++11)
(C++11)
(C++11)
Type modifications
(C++11)(C++11)(C++11)
Type transformations
(C++11)
(C++11)
(C++11)
Type trait constants
 
 
<tbody> </tbody>
<typeinfo> ์— ์ •์˜๋˜์–ด ์žˆ์Œ.
class type_info;

The class type_info holds implementation-specific information about a type, including the name of the type and means to compare two types for equality or collating order. This is the class returned by the typeid operator.

The type_info class is neither CopyConstructible nor CopyAssignable.

Member functions

(constructor)
[deleted]
has neither default nor copy constructors
(public member function)
[virtual]
the virtual destructor makes type_info a polymorphic class
(virtual public member function)
operator=
[deleted]
can not be copy-assigned
(public member function)
checks whether the objects refer to the same type
(public member function) [edit]
checks whether the referred type precedes referred type of another type_index
object in the implementation defined order, i.e. orders the referred types
(public member function) [edit]
(C++11)
returns a value which is identical for the same types
(public member function) [edit]
implementation defined name of the type
(public member function) [edit]

See also

wrapper around a type_info object, that can be used as index in associative and unordered associative containers
(class) [edit]