添加pair

This commit is contained in:
邹晓航
2014-11-03 14:12:11 +08:00
parent 671e2d059f
commit b2573465ff

View File

@@ -9,5 +9,17 @@ namespace TinySTL{
a = b;
b = temp;
}
//*********** [pair] ****************
template<class T1, class T2>
struct pair{
public:
typedef T1 first_type;
typedef T2 second_type;
public:
T1 first;
T2 second;
public:
};
}
#endif