#include <Ptr.h>
This is a workaround, as unfortunately typedfs in themselves may not be templated. For a discussion on the issue, see http://www.gotw.ca/gotw/079.htm
The smart pointers here are typedefs to the smart pointers in the boost library. For documentation of the boost smart pointers, see http://www.boost.org/libs/smart_ptr/
Definition at line 71 of file Ptr.h.
Public Types | |
typedef boost::shared_ptr< T > | Ref |
This is actually a typedef to the boost shared_ptr, which is a reference counting shared smart pointer. |
typedef boost::shared_ptr<T> LiveSupport::Core::Ptr< T >::Ref |
This is actually a typedef to the boost shared_ptr, which is a reference counting shared smart pointer.
For more on boost::shared_ptr, see http://www.boost.org/libs/smart_ptr/shared_ptr.htm
To use this pointer, define as follows: Ptr<MyType>::Ref myPointer;