参考C++手册,可看到每个容器和成员函数的参数返回值解释和使用举例: https://zh.cppreference.com/w/cpp/container image.png image.png image.png