Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QRecyclePool< T, Step > Class Template Reference

#include <qrecyclepool_p.h>

+ Collaboration diagram for QRecyclePool< T, Step >:

Public Member Functions

 QRecyclePool ()
 
 ~QRecyclePool ()
 
template<typename... Args>
T * New (Args &&...args)
 

Static Public Member Functions

static void Delete (T *)
 

Detailed Description

template<typename T, int Step = 1024>
class QRecyclePool< T, Step >

Definition at line 66 of file qrecyclepool_p.h.

Constructor & Destructor Documentation

◆ QRecyclePool()

template<typename T , int Step>
QRecyclePool< T, Step >::QRecyclePool
inline

Definition at line 82 of file qrecyclepool_p.h.

◆ ~QRecyclePool()

template<typename T , int Step>
QRecyclePool< T, Step >::~QRecyclePool
inline

Definition at line 88 of file qrecyclepool_p.h.

References d.

Member Function Documentation

◆ Delete()

template<typename T , int Step>
void QRecyclePool< T, Step >::Delete ( T *  t)
inlinestatic

Definition at line 102 of file qrecyclepool_p.h.

References QRecyclePoolPrivate< T, Step >::dispose().

Referenced by QQmlJavaScriptExpression::~QQmlJavaScriptExpression(), QQmlJavaScriptExpressionGuard::Delete(), and QQmlJavaScriptExpression::needsPropertyChangeTrigger().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ New()

template<typename T , int Step>
template<typename... Args>
T * QRecyclePool< T, Step >::New ( Args &&...  args)
inline

Definition at line 96 of file qrecyclepool_p.h.

References args, q20::construct_at(), and d.

Referenced by QQmlJavaScriptExpression::allocatePropertyChangeTrigger(), and QQmlJavaScriptExpressionGuard::New().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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