Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# oscl_exclusive_ptr.h File Reference

This file defines the OsclExclusivePtr template class. This class is used to avoid any potential memory leaks that may arise while returning from methods in case of error. More...

`#include "oscl_defalloc.h"`

Go to the source code of this file.

## Data Structures
class | OsclExclusiveArrayPtr
| The OsclExclusiveArrayPtr class is a template class that defines an array pointer like object intended to be assigned an address obtanined (directly or or indirectly) by new. When the OsclExclusiveArrayPtr expires, its destructor uses delete to free the memory. More...
class | OsclExclusivePtr
| The OsclExclusivePtr class is a template class that defines a pointer like object intended to be assigned an address obtanined (directly or or indirectly) by new. When the OsclExclusivePtr expires, its destructor uses delete to free the memory. More...
class | OsclExclusivePtrA
| The OsclExclusivePtrA class is a template class that defines any pointer like object intended to be assigned an address obtanined (directly or or indirectly) through Alloc. When the OsclExclusivePtrA expires, Alloc is used to free the memory. More...

## Detailed Description

This file defines the OsclExclusivePtr template class. This class is used to avoid any potential memory leaks that may arise while returning from methods in case of error.