svn checkout https://svn.eesti.ee/projektid/idkaart_public/3.2/qesteidutil/common/
1.auto_ptr 被复制后,将失去原来所致资源的所有权;
2.scoped_ptr永远不能被复制或被赋值!scoped_ptr拥有它所指向的资源的所有权,并永远不会放弃这个所有权;
3.shared_ptr 是可以共享所有权的智能指针;
#include "stdafx.h"//#include "windows.h"#include <memory>#include <iostream>
using std::tr1::shared_ptr;
class Foo{public: Foo() { std::cout<<"new Foo()"<<std::end...