跳转至

C++ STL 标准库

pair

pair,顾名思义,是一对。

它可以存储一对任何东西,即使前面和后面不同。

构造

1
pair<int,int> _pair; //this is a pair

vector

set(unordered_set)

map(unordered_map)

评论