代码搜索:auto_ptr
找到约 317 项符合「auto_ptr」的源代码
代码结果 317
www.eeworm.com/read/285874/8806065
htm mi9.htm
More Effective C++ | Item 9: Use destructors to prevent resource leaks Back to Exceptions
Continue to Item 10: Prevent resource leaks in constructors
Item 9: Use destructors to prevent resource leaks
www.eeworm.com/read/279032/10478986
htm mi9.htm
More Effective C++ | Item 9: Use destructors to prevent resource leaks Back to Exceptions
Continue to Item 10: Prevent resource leaks in constructors
Item 9: Use destructors to prevent resource leaks
www.eeworm.com/read/188512/8532481
cpp fig16_10.cpp
// Fig. 16.10: Fig16_10.cpp
// Demonstrating auto_ptr.
#include
using std::cout;
using std::endl;
#include
using std::auto_ptr; // auto_ptr class definition
#include "In
www.eeworm.com/read/479166/6699977
cpp fig16_10.cpp
// Fig. 16.10: Fig16_10.cpp
// Demonstrating auto_ptr.
#include
using std::cout;
using std::endl;
#include
using std::auto_ptr; // auto_ptr class definition
#include "In
www.eeworm.com/read/208576/15243685
cpp fig16_10.cpp
// Fig. 16.10: Fig16_10.cpp
// Demonstrating auto_ptr.
#include
using std::cout;
using std::endl;
#include
using std::auto_ptr; // auto_ptr class definition
#include "In
www.eeworm.com/read/113029/15472480
cpp fig13_07.cpp
// Fig. 13.7: fig13_07.cpp
// Demonstrating auto_ptr.
#include
using std::cout;
using std::endl;
#include
using std::auto_ptr; // auto_ptr class definition
class Int
www.eeworm.com/read/100033/15887692
h auto_ptr.h
/* ------------------------------------------------------------------------- */
/*
* Copyright (c) 1999
* GMRS Software GmbH, Innsbrucker Ring 159, 81669 Munich, Germany.
* http://www.g
www.eeworm.com/read/416714/11016882
cpp auto_ptr.cpp
#include "stlexam.h"
#pragma hdrstop
/**************************************************************************
*
* auto_ptr.cpp - Example program of auto_ptr. See Class Reference Section
*
*