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
qvarlengtharray.h File Reference

(a7bb69fb87219673a530af0143660267a3ffd2d8)

#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 1012 of file qvarlengtharray.h.

◆ erase_if()

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

Definition at line 1018 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 1005 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 >

Referenced by QString::remove(), and replace_helper().

+ Here is the caller graph for this function: