![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
文章平均质量分 63
MajorTom33
这个作者很懒,什么都没留下…
展开
-
【C++】继承与虚函数
作用派生类的构造与释放派生类和基类之间的转换多态虚函数实现原理原创 2022-10-08 09:08:17 · 829 阅读 · 1 评论 -
【C++】c++ 模板参数做容器参数迭代器报错 vector<T>::const_iterator,typename const报错
错误1:template<class T>void temp(std::vector<T>& container){ std::vector<T>::const_iterator p; //error: expected ‘;’ before ‘p’ for(p = container.begin(); p != container.end(); ++p) { //......原创 2024-06-13 14:43:09 · 364 阅读 · 0 评论