版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/ClamReason/article/details/51469541
类型转换:to_string()
智能指针:
shared_ptr 《C++ Primer》 shared_ptr示例:单词搜索
1 适合放到容器中
1 替代了原来的auto_ptr
3 可以支持数组
4 可以定制删除操作
auto_ptr
1 不支持数组的创建和释放
2 不能放到容器中,而被新的C++使用unique_ptr替代。
Function:
异常:C++异常的标准用法
设计模式: