Location:
Search - auto_ptr
Search list
Description: C++中只能指针的基本应用,有一定的说明性-C target only the basic application of a certain descriptive
Platform: |
Size: 5761 |
Author: TT |
Hits:
Description: 正则表达式,可以与POSIX API和Perl语言处理正则表达式的功能相媲美,而且还能支持各种字符类型(如char、wchar_t,甚至还可以是自定义字符类型);
多线程,想了很久的跨平台多线程库了;
数据结构“图”,再加上即将加入标准的hash_set、hash_map、hash_multiset、hash_multimap等等(事实上不少STL实作,如SGI STL,已经支持以上数据结构),C++对数据结构的支持已近完备;
python,没错,对Python语言的支持;
智能指针,与std::auto_ptr一起善加使用,可杜绝内存泄露,效率更不可和垃圾收集机制GC同日而语;
更有循环冗余的CRC、可轻松定义返回多个值函数的元组tuple、可容纳不同类型值的any、对标准库各方面的补充……
还在迅速扩大中,部分内容有望进入C++标准库…… -regular expression. with the POSIX API and Perl language processing Regular expressions are comparable to the function, but also support various types of characters (such as char and wchar_t. they can even be defined character type); Multithreading, for a long time to cross-platform and multi-threaded library; Data Structure "map", coupled with the imminent accession to the standards hash_set, hash_map. hash_multiset. hash_multimap etc. (In fact, many STL implementations, such as the SGI STL, support has been above data structure), C data structures to support the nearly complete; python, it is true that right Python language support; Smart indicator, std : : auto_ptr together to make good use, Memory can stop leaking, and not more efficient garbage collection mechanism GC same b
Platform: |
Size: 3491458 |
Author: hnycmx |
Hits:
Description: 一个类似于c++ stl中的auto_ptr,但是功能更加的强大。支持复制构造,并且新构造出来的实例和被复制的实例都拥有资源的操作权力,而且在最后一个拥有资源的实例被析构的时候资源才会被自动的释放
Platform: |
Size: 2137 |
Author: 熊军 |
Hits:
Description: 智能指针练习的例子,可以实现动态内存的自动释放
Platform: |
Size: 12007 |
Author: zxk |
Hits:
Description: 为什么要用这个auto_ptr,一般的C语言指针不够用吗?它是智能的
Platform: |
Size: 2349 |
Author: 哈哈哈 |
Hits:
Description: C++名家精华.chm
我们用早期的C++语言编程。工作的第二天中午,厌烦了读职工手册,于是我写了一个工具类,里面包含一个原始指针作为成员变量:
#include \"xStruct.h\" // definition of struct X
class xWrapper
{
X* xItem
public:
xWrapper() : xItem(new X) { }
~xWrapper() { delete xItem }
void dump() { /* dumps xItem to cout */ }
}
当然了,使用这个类的程序由于内存问题总是时不时的崩溃,因为我违反三个重要设计原则之一:任何时候,只要你提供了析构函数、拷贝构造函数或赋值运算符中的一个,你通常需要三个都提供。([1]) “所以,”我自言自语道,“我必须自己处理拷贝和赋值问题。简单地...auto_ptr有拷贝构造函数和赋值运算符,我可以拿过来用一下。”(你知道早期C++程序库中的auto_ptr,是吗?)
Platform: |
Size: 136793 |
Author: 叶峰 |
Hits:
Description: 在Delphi2009中实现类似于STL中auto_ptr的智能指针!关于此智能指针的原理及解释请进入以下网址:
http://www.cnblogs.com/felixYeou/archive/2008/09/06/1285806.html
Platform: |
Size: 105597 |
Author: 杨芹勍 |
Hits:
Description: C++中只能指针的基本应用,有一定的说明性-C target only the basic application of a certain descriptive
Platform: |
Size: 5120 |
Author: TT |
Hits:
Description: 正则表达式,可以与POSIX API和Perl语言处理正则表达式的功能相媲美,而且还能支持各种字符类型(如char、wchar_t,甚至还可以是自定义字符类型);
多线程,想了很久的跨平台多线程库了;
数据结构“图”,再加上即将加入标准的hash_set、hash_map、hash_multiset、hash_multimap等等(事实上不少STL实作,如SGI STL,已经支持以上数据结构),C++对数据结构的支持已近完备;
python,没错,对Python语言的支持;
智能指针,与std::auto_ptr一起善加使用,可杜绝内存泄露,效率更不可和垃圾收集机制GC同日而语;
更有循环冗余的CRC、可轻松定义返回多个值函数的元组tuple、可容纳不同类型值的any、对标准库各方面的补充……
还在迅速扩大中,部分内容有望进入C++标准库…… -regular expression. with the POSIX API and Perl language processing Regular expressions are comparable to the function, but also support various types of characters (such as char and wchar_t. they can even be defined character type); Multithreading, for a long time to cross-platform and multi-threaded library; Data Structure "map", coupled with the imminent accession to the standards hash_set, hash_map. hash_multiset. hash_multimap etc. (In fact, many STL implementations, such as the SGI STL, support has been above data structure), C data structures to support the nearly complete; python, it is true that right Python language support; Smart indicator, std : : auto_ptr together to make good use, Memory can stop leaking, and not more efficient garbage collection mechanism GC same b
Platform: |
Size: 3500032 |
Author: hnycmx |
Hits:
Description: 一个类似于c++ stl中的auto_ptr,但是功能更加的强大。支持复制构造,并且新构造出来的实例和被复制的实例都拥有资源的操作权力,而且在最后一个拥有资源的实例被析构的时候资源才会被自动的释放-A similar c++ Stl of auto_ptr, but more powerful features. Support copy constructor, and the new structure by copying examples and examples have the resources to operate the power, but also have the resources in the last example was a time when resources destructor will automatically release
Platform: |
Size: 2048 |
Author: 熊军 |
Hits:
Description: 智能指针练习的例子,可以实现动态内存的自动释放-Practice examples of smart pointer, you can realize the automatic release of dynamic memory
Platform: |
Size: 11264 |
Author: zxk |
Hits:
Description: 为什么要用这个auto_ptr,一般的C语言指针不够用吗?它是智能的-Why use the auto_ptr, the C language pointer general enough it? It is intelligent
Platform: |
Size: 2048 |
Author: 哈哈哈 |
Hits:
Description: C++名家精华.chm
我们用早期的C++语言编程。工作的第二天中午,厌烦了读职工手册,于是我写了一个工具类,里面包含一个原始指针作为成员变量:
#include "xStruct.h" // definition of struct X
class xWrapper
{
X* xItem
public:
xWrapper() : xItem(new X) { }
~xWrapper() { delete xItem }
void dump() { /* dumps xItem to cout */ }
}
当然了,使用这个类的程序由于内存问题总是时不时的崩溃,因为我违反三个重要设计原则之一:任何时候,只要你提供了析构函数、拷贝构造函数或赋值运算符中的一个,你通常需要三个都提供。([1]) “所以,”我自言自语道,“我必须自己处理拷贝和赋值问题。简单地...auto_ptr有拷贝构造函数和赋值运算符,我可以拿过来用一下。”(你知道早期C++程序库中的auto_ptr,是吗?)
-err
Platform: |
Size: 136192 |
Author: 叶峰 |
Hits:
Description: 在Delphi2009中实现类似于STL中auto_ptr的智能指针!关于此智能指针的原理及解释请进入以下网址:
http://www.cnblogs.com/felixYeou/archive/2008/09/06/1285806.html-Delphi2009 to achieve similar in STL in auto_ptr smart pointer! On the principle of smart pointer and explanation, please enter the following URL: http://www.cnblogs.com/felixYeou/archive/2008/09/06/1285806.html
Platform: |
Size: 105472 |
Author: 杨芹勍 |
Hits:
Description: 不能用一个指向"内存不是用new分配的"指针来初始化或者赋值auto_ptr指针-Can not use a point to " new allocation of memory instead of a" pointer to initialize or assign pointer auto_ptr
Platform: |
Size: 5756928 |
Author: 陈奇 |
Hits:
Description: 1 auto_ptr再回忆
2 空引用
3 起源
4 谁的代码更易于移植?
5 通过任何其他名字
6 Virtually Yours
7 方形尖塔
8 访问限制
9 重定向
10 关于操纵器的对话
11 根源
12 Abstract Factory, Template Style
13 怎样持久化一个对象
14 The Bind That Ties
15 Back to Base-ics
16 Al-Go-Rithms
17 匈牙利命名
18 我为你准备一切
19 新的起点,第一部分
20 新的起点,第二部分
21 模板特化,缺省参数和其他一些有趣的事情
22 想睡觉,偶然
23 产生真正的hash对象
24 好的,坏的,不赞成的
25 Getting to the Point
26 A Midsummer Night’s Madness
27 Baseless Exceptions
28 Contracts, Promises, and Mere Semantics
29 可怜的bool
30 It s an Object-ful Lifetime
另 与大虾对话: 领悟设计模式
-Herb Sutter is chief technology officer of PeerDirect Inc. and secretary of the ISO/ANSI C++ standards committee.
Platform: |
Size: 142336 |
Author: 何子文 |
Hits:
Description: 讲解智能指针的原理以及实现的书籍,很好的一本电子书;-To explain the principles of smart pointer as well as books, a good e-books
Platform: |
Size: 118784 |
Author: chenzhibo |
Hits:
Description: 智能指针AUTO_PTR的使用说明,有效解决内存分配中一系列棘手问题。-Auto_ptr smart pointer instructions for use, effective solution to a series of thorny issues in the memory allocation.
Platform: |
Size: 14336 |
Author: ZYZ |
Hits:
Description: 类模板,智能指针auto_ptr原理介绍。-class template、auto_ptr、interduce.
Platform: |
Size: 98304 |
Author: turoch |
Hits:
Description: A wrapper class to provide auto_ptr with reference semantics. For example, an auto_ptr can be assigned (or constructed from) the result of a function which returns an auto_ptr by value.
Platform: |
Size: 3072 |
Author: pgvvyi |
Hits: