![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
知识-总结
文章平均质量分 55
sanfranciscoboy
这个作者很懒,什么都没留下…
展开
-
auto_ptr 的一个实现
/* class auto_ptr * - improved standard conforming implementation */namespace std { // auxiliary type to enable copies and assignments (now global) template struct auto_ptr_ref { Y* yp原创 2009-12-04 15:46:00 · 299 阅读 · 0 评论 -
boolalpha 的用法
今天看《标准程序库》,有一句是这么说的: cout 于是就找msdn:Specifies that variables of type bool appear as true or false in the stream. 意思就是将bool类型输出true或者false 而不是1或者0样例:// ios_boolalpha.cpp/原创 2009-12-04 16:26:00 · 849 阅读 · 0 评论