dhpoware logo
navbar
home products source demos contact us
navbar navbar
box top left corner box top right corner
 
 
Smart Pointer.

This is an intrusive reference counting smart pointer template class. This smart pointer class only works with objects derived from the Referable abstract class. Both the SmartPtr template class and the Referable abstract base class are defined in the SmartPtr.h header file. Sample usage and test cases are included in the main.cpp file.

This smart pointer implementation is based on ideas presented in Andrei Alexandrescu's "Modern C++ Design" and Scott Meyers' "More Effective C++".

zip file Download source, and Visual C++ 2010 solution files.

Change History:

10 July 2010.
Added missing .vcxproj.filters file to the project.

13 June 2010.
Updated solution to Microsoft Visual Studio 2010.

2 February 2008.
Updated solution to Microsoft Visual Studio 2008.

 
box bottom left corner content box box bottom right corner
logo logo