Abraxas/Meyers: Effective C++  Home  Table of Contents

Module - m13.html

ABRAXAS SOFTWARE - CodeCheck Meyers: Effective C++ Test-Suite

Meyers: Effective C++ Test Suite for Module - m13.cpp

// Item 13: Use objects to manage resources. 61

template  class auto_ptr {
};
class Investment {
};
Investment * create();



Function Name: f()

void f() {
	auto_ptr pInv(create());
	Investment *pInv = create();
}

Abraxas/Meyers: Effective C++  Home  Table of Contents

ABRAXAS SOFTWARE - CodeCheck Meyers: Effective C++ Test-Suite