专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
在C中大家都知道vector数据是连续存放下面是标准中描述(C03, 23.2.4/1) The elements of a vector are stored contiguously, meaning that v is a vector<T, Allocator> where T is some type other than bool, then it obeys the identity &v[n] &v[0] + n [阅读全文] [PDF]
在C中大家都知道vector数据是连续存放下面是标准中描述(C03, 23.2.4/1) The elements of a vector are stored contiguously, meaning that v is a vector<T, Allocator> where T is some type other than bool, then it obeys the identity &v[n] &v[0] + n f [阅读全文] [PDF]
这个纯属个人感觉(偏见)我有如下理由不使用ACE容器: l 些实现不符合大家对于容器认识比如ACE_DLList在其中存放居然是对象指针而不是拷贝你还必须记住去释放ACE_DLList内部管理指针 l ACE容器迭代器不符合STL要求从而造成ACE容器无法使用STL各种模板算法和总不能ACE容器失去STL算法这片森林吧 l 现在编译器上已经非常普遍实现了STL想找个还不支持STL编译器应该都不容易了 l ACE容器中间有大量指针所以ACE容器也不可能用在共享内存中其应用场景和STL没有本质区别 ACE文档The.ACE.Programmers.Guide中 [阅读全文] [PDF]
标签:stlace stl容器
1 共3条 分1页