C++/Syntax
C++ Type Alias
Caniro
2021. 3. 11. 16:25
Type Alias
- 자료형, 클래스 등을 다른 이름으로도 사용할 수 있게 해준다.
typedef
typedef vector<pair<string, int>> pairlist_t;
using
using pairlist_t = vector<pair<string, int>>;