![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qscopedpointer.h>
Public Member Functions | |
Q_NODISCARD_CTOR | QScopedArrayPointer () |
~QScopedArrayPointer ()=default | |
template<typename D, if_same_type< D > = true> | |
Q_NODISCARD_CTOR | QScopedArrayPointer (D *p) |
T & | operator[] (qsizetype i) |
const T & | operator[] (qsizetype i) const |
Public Member Functions inherited from QScopedPointer< T, Cleanup > | |
Q_NODISCARD_CTOR | QScopedPointer (T *p=nullptr) noexcept |
~QScopedPointer () | |
T & | operator* () const |
T * | operator-> () const noexcept |
bool | operator! () const noexcept |
operator bool () const | |
T * | data () const noexcept |
T * | get () const noexcept |
bool | isNull () const noexcept |
void | reset (T *other=nullptr) noexcept(noexcept(Cleanup::cleanup(std::declval< T * >()))) |
Additional Inherited Members | |
Public Types inherited from QScopedPointer< T, Cleanup > | |
typedef T * | pointer |
Protected Attributes inherited from QScopedPointer< T, Cleanup > | |
T * | d |
Definition at line 191 of file qscopedpointer.h.
|
inline |
Definition at line 197 of file qscopedpointer.h.
|
inlinedefault |
|
inlineexplicit |
Definition at line 202 of file qscopedpointer.h.
|
inline |
Definition at line 207 of file qscopedpointer.h.
|
inline |
Definition at line 212 of file qscopedpointer.h.