Agora RTC Objective-C API Reference Refactor

CopyableAutoPtr< T > Class Template Reference

Inherits AutoPtr< T >.

## Member Typedef Documentation

## ◆ pointer_type

typedef AutoPtr<T>::pointer_type pointer_type
| private

## ◆ value_type

typedef T value_type
| protected inherited

## Constructor & Destructor Documentation

## ◆ CopyableAutoPtr() [1/2]

CopyableAutoPtr | ( | pointer_type | p = `0` | ) |
| inline explicit

## ◆ CopyableAutoPtr() [2/2]

CopyableAutoPtr | ( | const CopyableAutoPtr< T > & | rhs | ) |
| inline

## Member Function Documentation

## ◆ operator=()

CopyableAutoPtr& operator= | ( | const CopyableAutoPtr< T > & | rhs | ) |
| inline

## ◆ clone()

pointer_type clone | ( |  | ) | const
| inline

## ◆ operator bool()

operator bool | ( |  | ) | const
| inline inherited

## ◆ operator*()

value_type& operator* | ( |  | ) | const
| inline inherited

## ◆ operator->()

pointer_type operator-> | ( |  | ) | const
| inline inherited

## ◆ get()

pointer_type get | ( |  | ) | const
| inline inherited

## ◆ release()

pointer_type release | ( |  | ) |
| inline inherited

## ◆ reset()

void reset | ( | pointer_type | ptr = `OPTIONAL_NULLPTR` | ) |
| inline inherited

## ◆ queryInterface()

bool queryInterface | ( | C1 * | c,
|  | C2 | iid
| ) |  |
| inline inherited

## Field Documentation

## ◆ ptr_

pointer_type ptr_
| private inherited