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
QQml Namespace Reference

Functions

template<typename T , typename ... Args>
QQmlRefPointer< T > makeRefPointer (Args &&... args)
 

Function Documentation

◆ makeRefPointer()

template<typename T , typename ... 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 120 of file qqmlrefcount_p.h.

References args.