Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qvarlengtharray.h File Reference
#include <QtCore/qcontainerfwd.h>
#include <QtCore/qglobal.h>
#include <QtCore/qalgorithms.h>
#include <QtCore/qcontainertools_impl.h>
#include <QtCore/qhashfunctions.h>
#include <algorithm>
#include <initializer_list>
#include <iterator>
#include <QtCore/q20memory.h>
#include <new>
#include <string.h>
#include <stdlib.h>
+ Include dependency graph for qvarlengtharray.h:

Go to the source code of this file.

Classes

class  QVLAStorage< Size, Align, Prealloc >
 
class  QVLABaseBase
 
struct  QVLABaseBase::free_deleter
 
class  QVLABase< T >
 
class  QVarLengthArray< T, Prealloc >
 

Functions

template<typename InputIterator , typename ValueType = typename std::iterator_traits<InputIterator>::value_type, QtPrivate::IfIsInputIterator< InputIterator > = true>
 QVarLengthArray (InputIterator, InputIterator) -> QVarLengthArray< ValueType >
 
template<typename T , qsizetype Prealloc>
size_t qHash (const QVarLengthArray< T, Prealloc > &key, size_t seed=0) noexcept(QtPrivate::QNothrowHashable_v< T >)
 
template<typename T , qsizetype Prealloc, typename AT >
qsizetype erase (QVarLengthArray< T, Prealloc > &array, const AT &t)
 
template<typename T , qsizetype Prealloc, typename Predicate >
qsizetype erase_if (QVarLengthArray< T, Prealloc > &array, Predicate pred)
 

Function Documentation

◆ erase()

template<typename T , qsizetype Prealloc, typename AT >
qsizetype erase ( QVarLengthArray< T, Prealloc > &  array,
const AT t 
)

Definition at line 1002 of file qvarlengtharray.h.

Referenced by QVLABase< T >::assign_impl(), and QVLABase< T >::remove().

+ Here is the caller graph for this function:

◆ erase_if()

template<typename T , qsizetype Prealloc, typename Predicate >
qsizetype erase_if ( QVarLengthArray< T, Prealloc > &  array,
Predicate  pred 
)

Definition at line 1008 of file qvarlengtharray.h.

◆ qHash()

template<typename T , qsizetype Prealloc>
size_t qHash ( const QVarLengthArray< T, Prealloc > &  key,
size_t  seed = 0 
)
noexcept

Definition at line 995 of file qvarlengtharray.h.

References seed.

◆ QVarLengthArray()

template<typename InputIterator , typename ValueType = typename std::iterator_traits<InputIterator>::value_type, QtPrivate::IfIsInputIterator< InputIterator > = true>
QVarLengthArray ( InputIterator  ,
InputIterator   
) -> QVarLengthArray< ValueType >