![]() |
Qt 6.x
The Qt SDK
|
#include <qcore_mac_p.h>
Public Member Functions | |
Q_NODISCARD_CTOR | QAppleRefCounted () |
Q_NODISCARD_CTOR | QAppleRefCounted (const T &t) |
Q_NODISCARD_CTOR | QAppleRefCounted (T &&t) noexcept(std::is_nothrow_move_constructible< T >::value) |
Q_NODISCARD_CTOR | QAppleRefCounted (QAppleRefCounted &&other) noexcept(std::is_nothrow_move_assignable< T >::value &&std::is_nothrow_move_constructible< T >::value) |
Q_NODISCARD_CTOR | QAppleRefCounted (const QAppleRefCounted &other) |
~QAppleRefCounted () | |
operator T () const | |
void | swap (QAppleRefCounted &other) noexcept(noexcept(qSwap(value, other.value))) |
QAppleRefCounted & | operator= (const QAppleRefCounted &other) |
QAppleRefCounted & | operator= (QAppleRefCounted &&other) noexcept(std::is_nothrow_move_assignable< T >::value &&std::is_nothrow_move_constructible< T >::value) |
T * | operator& () |
Protected Attributes | |
T | value |
Definition at line 85 of file qcore_mac_p.h.
|
inline |
Definition at line 88 of file qcore_mac_p.h.
|
inline |
Definition at line 89 of file qcore_mac_p.h.
|
inlinenoexcept |
Definition at line 90 of file qcore_mac_p.h.
|
inlinenoexcept |
Definition at line 93 of file qcore_mac_p.h.
|
inline |
Definition at line 97 of file qcore_mac_p.h.
|
inline |
Definition at line 100 of file qcore_mac_p.h.
|
inline |
Definition at line 101 of file qcore_mac_p.h.
|
inline |
Definition at line 110 of file qcore_mac_p.h.
References QAppleRefCounted< T, U, RetainFunction, ReleaseFunction >::value.
|
inline |
Definition at line 104 of file qcore_mac_p.h.
References copy(), other(), and QAppleRefCounted< T, U, RetainFunction, ReleaseFunction >::swap().
|
inlinenoexcept |
Definition at line 106 of file qcore_mac_p.h.
References other(), and QAppleRefCounted< T, U, RetainFunction, ReleaseFunction >::swap().
|
inlinenoexcept |
Definition at line 102 of file qcore_mac_p.h.
References other(), and qSwap().
Referenced by QAppleRefCounted< T, U, RetainFunction, ReleaseFunction >::operator=(), and QAppleRefCounted< T, U, RetainFunction, ReleaseFunction >::operator=().
|
protected |
Definition at line 112 of file qcore_mac_p.h.
Referenced by QAppleRefCounted< CFDictionaryRef, CFTypeRef, CFRetain, CFRelease >::operator CFDictionaryRef(), and QAppleRefCounted< T, U, RetainFunction, ReleaseFunction >::operator&().