Appearance
pair相当与一个简单的只包含两个成员的结构体,只有两个成员的结构体的时候可以使用pair
访问元素
pair<int,int>p; int x=p.first; int y=p.second;