Notice
Recent Posts
Recent Comments
Link
목록using (1)
오븐 노트
[C++] using
#include using namespace std; #include #include #include #include #include #include //타입에 대한 별칭을 지을때는 앞으로 using을 애용하자 typedef vector::iterator VecIt; typedef __int64 id; using id2 = int; // 1) 직관성 typedef void (*MyFunc)(); using MyFunc2 = void(*)(); // 2) 템플릿 template using List = std::list; // typedef은 사용 불가 // 이전 버전 template struct List2 { typedef std::list type; }; int main() { id playerId = ..
Develop/C++
2023. 12. 7. 18:45