Crypto++ 8.4 Free C++ class library of cryptographic schemes

Public Member Functions | Public Attributes | List of all members
simple_ptr< T > Class Template Reference

Manages resources for a single object. More...

## Public Member Functions
| simple_ptr (T *p=NULL)

## Public Attributes
T * | m_p

## Detailed Description

### template<class T>
class simple_ptr< T >

Manages resources for a single object.

Template Parameters

  T | class or type

`simple_ptr` is used frequently in the library to manage resources and ensure cleanup under the RAII pattern (Resource Acquisition Is Initialization).

Definition at line 18 of file smartptr.h.

The documentation for this class was generated from the following file:

- smartptr.h