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;         ...
相关文章
相关标签/搜索