Pair和Tuple

一、Pair 類 pair類定義在<utility>中,定義如下: template<class _Ty1, class _Ty2> struct pair { // store a pair of values typedef pair<_Ty1, _Ty2> _Myt; typedef _Ty1 first_type; typedef _Ty2 second_type;         ...
相關文章
相關標籤/搜索