Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QAutoPointer< T > Class Template Reference

#include <qdialog_p.h>

+ Collaboration diagram for QAutoPointer< T >:

Public Member Functions

Q_NODISCARD_CTOR QAutoPointer (T *t) noexcept
 
 ~QAutoPointer ()
 
T * operator-> () const noexcept
 
T * get () const noexcept
 
T & operator* () const
 
 operator bool () const noexcept
 
bool operator! () const noexcept
 

Detailed Description

template<typename T>
class QAutoPointer< T >

Definition at line 105 of file qdialog_p.h.

Constructor & Destructor Documentation

◆ QAutoPointer()

template<typename T >
Q_NODISCARD_CTOR QAutoPointer< T >::QAutoPointer ( T * t)
inlineexplicitnoexcept

Definition at line 108 of file qdialog_p.h.

References o.

◆ ~QAutoPointer()

template<typename T >
QAutoPointer< T >::~QAutoPointer ( )
inline

Definition at line 109 of file qdialog_p.h.

References o.

Member Function Documentation

◆ get()

template<typename T >
T * QAutoPointer< T >::get ( ) const
inlinenoexcept

Definition at line 112 of file qdialog_p.h.

References o.

Referenced by QAutoPointer< T >::operator*(), and QAutoPointer< T >::operator->().

+ Here is the caller graph for this function:

◆ operator bool()

template<typename T >
QAutoPointer< T >::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 114 of file qdialog_p.h.

References o.

◆ operator!()

template<typename T >
bool QAutoPointer< T >::operator! ( ) const
inlinenoexcept

Definition at line 115 of file qdialog_p.h.

References o.

◆ operator*()

template<typename T >
T & QAutoPointer< T >::operator* ( ) const
inline

Definition at line 113 of file qdialog_p.h.

References QAutoPointer< T >::get().

+ Here is the call graph for this function:

◆ operator->()

template<typename T >
T * QAutoPointer< T >::operator-> ( ) const
inlinenoexcept

Definition at line 111 of file qdialog_p.h.

References QAutoPointer< T >::get().

+ Here is the call graph for this function:

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