You.i Engine
YiSharedPtr.h File Reference
#include "utility/YiRtti.h"
#include "utility/YiError.h"
#include "smartptr/YiDefaultPtrDeleter.h"
#include "smartptr/YiCallbackDeleter.h"
#include "smartptr/YiFunctorDeleter.h"
#include <memory>
#include "smartptr/YiSharedPtr.inl"

Go to the source code of this file.

Classes

class  CYIWeakPtr< YI_PTR_TYPE >
 The CYIWeakPtr is a smart pointer that does not take any ownership of a dynamically allocated object. It will never delete the object. When the object is deleted by the last strong reference, CYIWeakPtr will automatically point to nullptr. More...
 
class  CYISharedPtr< YI_PTR_TYPE >
 The CYISharedPtr is a smart pointer that takes a shared ownership of a dynamically allocated object. The last instance of CYISharedPtr going out-of-scope will clean up the memory thus avoiding memory leaks. More...