- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions

# QScopedArrayPointer< T, Cleanup > Class Template Reference

Search for all occurrences

## Detailed Description

### template<typename T, typename Cleanup = QScopedPointerArrayDeleter<T>>
class QScopedArrayPointer< T, Cleanup >

Definition at line 190 of file qscopedpointer.h.

`#include <qscopedpointer.h>`

Inheritance diagram for QScopedArrayPointer< T, Cleanup >:
[legend]

List of all members.

## Public Member Functions
| QScopedArrayPointer (T *p=0)
T & | operator[] (int i)
const T & | operator[] (int i) const

## Constructor & Destructor Documentation

QScopedArrayPointer | ( | T * | p = `0` | ) | `[inline, explicit]`

Definition at line 193 of file qscopedpointer.h.

            : QScopedPointer<T, Cleanup>(p)
        {
        }

## Member Function Documentation

T& operator[] | ( | int | i | ) | `[inline]`

Definition at line 198 of file qscopedpointer.h.

        {
            return this->d[i];
        }

const T& operator[] | ( | int | i | ) | const `[inline]`

Definition at line 203 of file qscopedpointer.h.

        {
            return this->d[i];
        }

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

- QtCore/qscopedpointer.h