【C/C++学院】0828-STL入门与简介/STL容器概念/容器迭代器仿函数算法STL概念例子/栈队列双端队列优先队列/数据结构堆的概念/红黑树容器
STL入门与简介#include
#include//容器
#include//数组
#include//算法
usingnamespacestd;
//实现一个类模板,专门实现打印的功能
template//类模板实现了方法
classmyvectorprint
{
public:
voidoperator()(constT&t)//重载,使用(),打印
{
std::coutmyvecto