![]() |
Qt 6.x
The Qt SDK
|
Functions | |
template<typename T , typename ... Args> | |
QQmlRefPointer< T > | makeRefPointer (Args &&... args) |
QQmlRefPointer< T > QQml::makeRefPointer | ( | Args &&... | args | ) |
Creates a QQmlRefPointer which takes ownership of a newly constructed T. T must derive from QQmlRefCounted<T> (as we rely on an initial refcount of 1). T will be constructed by forwarding args to its constructor.
Definition at line 108 of file qqmlrefcount_p.h.
References args.