随笔分类 -  STL源码剖析

这主要记录一下 我在学习STL源码剖析是 碰见的问题 以及 知识总结
摘要://The arrow operator has no inputs. Technically, it can return whatever you want, but it should return something that either is a pointer or can becom 阅读全文
posted @ 2018-12-26 09:34 jchar 阅读(143) 评论(0) 推荐(0)
摘要:#include<iostream> using namespace std; //测试 template 里面是否还可以有 template class alloc{ }; template <typename T,class Alloc=alloc> class vector{ public: 阅读全文
posted @ 2018-12-18 23:39 jchar 阅读(211) 评论(0) 推荐(0)