c++
文章平均质量分 74
sinat_27305889
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C++ string类
class std::String原创 2015-08-30 00:25:25 · 472 阅读 · 0 评论 -
C++ bitset头文件中的内容
CLass templatestd::bitset类模板格式template<size_t N> class bitset bitset是用来存储比特的集合。 可以像数组取得数组值地方法获取其中的比特位。 可以从string类型或者整型值构造或者向它们转换。 bitset的大小在编译时就已经确定,取决于模板参数。 也可以用vector特化类型实现bitset类似功能 1.成员类型只有一种类型std:原创 2015-09-06 01:33:54 · 2628 阅读 · 0 评论 -
C++ <vector>
C++ 头文件<vector>1.头文件结构template < class T, class Alloc = allocator<T> > class vector; // generic template - classes - vector(类模板) - vector<bool>(类模板) - Functions - begin(函数模板,起始迭代器) - end(函原创 2015-09-07 14:34:02 · 723 阅读 · 0 评论 -
C++ STL/functional
header < functional >函数对象 利用操作符()的重载,使对象实现类似函数的功能,通常被用来做其他函数的谓词或者比较函数参数1.基类1.unary_function 一元函数模板template <class Arg, class Result> struct unary_function { typedef Arg argument_type; typedef原创 2015-09-06 16:35:53 · 919 阅读 · 0 评论
分享