摘要:
http://www.cplusplus.com/reference/utility/pair/用于存储一对异构对象// Compile: g++ -std=c++11 pair.cpp#include #include #include #include int main () { std::pair p1; // default constructor p1 = std::make_pair(std::string("alpha"), 1); // using make_pair (mo... 阅读全文