CopperSpice API  2.0.0
QUniquePointer< T, Deleter > Class Template Reference

Typedef for QScopedPointer. More...

Related Functions

These are not member functions

QUniquePointer< T > QMakeUnique (Args &&...args)
 

Detailed Description

template<typename T, typename Deleter = std::default_delete<T>>
class QUniquePointer< T, Deleter >

Using the QUniquePointer class is synonymous with using QScopedPointer. There is a typedef in CopperSpice which defines QScopedPointer as equivalent to QUniquePointer.

Note
For the full documentation refer to QScopedPointer.
See also
QScopedArrayPointer, QUniqueArrayPointer

Friends And Related Function Documentation

QUniquePointer< T > QMakeUnique ( Args &&...  args)
related

Equivalent to calling QMakeScoped().