![](https://img-blog.csdnimg.cn/20190927151053287.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
【002】C++ Template
C++ Template
MeepoB
小菜鸟
展开
-
C++ 模板 using, Concept
c++ 模板 using原创 2023-06-30 14:49:11 · 209 阅读 · 0 评论 -
Concept
c++ concept原创 2023-06-29 19:12:39 · 257 阅读 · 0 评论 -
C++模版依赖型基类中的 this 作用
依赖型基类 基类依赖模版参数 template <typename T> class BBB{ public: void one(int ){} }; template <typename T> class DDD : public BBB<T> { public: void f() { one(1); // 依赖型名称实例化时查找 } }; 编译时会有警告: /原创 2022-03-05 19:12:17 · 496 阅读 · 0 评论