GarageGames/Torque3D — pull request #70 by Luis-Anton (2012-10-06 16:45:59+00:00)
Title: Torque Smart ptr: Shared, Weak & Scoped

This pull include smart pointers in 3 files without external dependencies(No STD/No BOOST):
*[ScopedPtr](https://github.com/Luis-Anton/Torque3D/tree/smart_ptr2/Engine/source/core/util/tScopedPtr.h)
*[SharedPtr](https://github.com/Luis-Anton/Torque3D/tree/smart_ptr2/Engine/source/core/util/tSharedPtr.h)
*[WeakPtr](https://github.com/Luis-Anton/Torque3D/tree/smart_ptr2/Engine/source/core/util/tWeakPtr.h)

All are based on Boost smart pointer with very similar interface ( [see Boost documentation](http://www.boost.org/doc/libs/1_51_0/libs/smart_ptr/smart_ptr.htm) )

Simple test unit and example on: https://github.com/Luis-Anton/Torque3D/tree/smart_ptr2/Engine/source/unit/tests/test_smart_ptr_basic.cpp

NOTE: Only tested on Windows7/VS2010. NOT THREAD-SAFE.