QtBase  v6.3.1
Namespaces | Macros | Functions
qalgorithms.h File Reference
#include <QtCore/qglobal.h>
Include dependency graph for qalgorithms.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 QAlgorithmsPrivate
 
 QtPrivate
 

Macros

#define QT_POPCOUNT_CONSTEXPR   constexpr
 
#define QT_POPCOUNT_RELAXED_CONSTEXPR   constexpr
 

Functions

template<typename ForwardIterator >
QT_BEGIN_NAMESPACE Q_OUTOFLINE_TEMPLATE void qDeleteAll (ForwardIterator begin, ForwardIterator end)
 
template<typename Container >
void qDeleteAll (const Container &c)
 
Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR uint qPopulationCount (quint32 v) noexcept
 
Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR uint qPopulationCount (quint8 v) noexcept
 
Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR uint qPopulationCount (quint16 v) noexcept
 
Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR uint qPopulationCount (quint64 v) noexcept
 
Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR uint qPopulationCount (long unsigned int v) noexcept
 
constexpr uint QtPrivate::qConstexprCountTrailingZeroBits (quint32 v) noexcept
 
constexpr uint QtPrivate::qConstexprCountTrailingZeroBits (quint64 v) noexcept
 
constexpr uint QtPrivate::qConstexprCountTrailingZeroBits (quint8 v) noexcept
 
constexpr uint QtPrivate::qConstexprCountTrailingZeroBits (quint16 v) noexcept
 
constexpr uint QtPrivate::qConstexprCountTrailingZeroBits (unsigned long v) noexcept
 
constexpr uint qCountTrailingZeroBits (quint32 v) noexcept
 
constexpr uint qCountTrailingZeroBits (quint8 v) noexcept
 
constexpr uint qCountTrailingZeroBits (quint16 v) noexcept
 
constexpr uint qCountTrailingZeroBits (quint64 v) noexcept
 
constexpr uint qCountTrailingZeroBits (unsigned long v) noexcept
 
QT_POPCOUNT_RELAXED_CONSTEXPR uint qCountLeadingZeroBits (quint32 v) noexcept
 
QT_POPCOUNT_RELAXED_CONSTEXPR uint qCountLeadingZeroBits (quint8 v) noexcept
 
QT_POPCOUNT_RELAXED_CONSTEXPR uint qCountLeadingZeroBits (quint16 v) noexcept
 
QT_POPCOUNT_RELAXED_CONSTEXPR uint qCountLeadingZeroBits (quint64 v) noexcept
 
QT_POPCOUNT_RELAXED_CONSTEXPR uint qCountLeadingZeroBits (unsigned long v) noexcept
 

Macro Definition Documentation

◆ QT_POPCOUNT_CONSTEXPR

#define QT_POPCOUNT_CONSTEXPR   constexpr

Definition at line 238 of file qalgorithms.h.

◆ QT_POPCOUNT_RELAXED_CONSTEXPR

#define QT_POPCOUNT_RELAXED_CONSTEXPR   constexpr

Definition at line 239 of file qalgorithms.h.

Function Documentation

◆ qCountLeadingZeroBits() [1/5]

QT_POPCOUNT_RELAXED_CONSTEXPR uint qCountLeadingZeroBits ( quint16  v)
inlinenoexcept

Definition at line 442 of file qalgorithms.h.

Here is the call graph for this function:

◆ qCountLeadingZeroBits() [2/5]

QT_POPCOUNT_RELAXED_CONSTEXPR uint qCountLeadingZeroBits ( quint32  v)
inlinenoexcept

Definition at line 411 of file qalgorithms.h.

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

◆ qCountLeadingZeroBits() [3/5]

QT_POPCOUNT_RELAXED_CONSTEXPR uint qCountLeadingZeroBits ( quint64  v)
inlinenoexcept

Definition at line 457 of file qalgorithms.h.

Here is the call graph for this function:

◆ qCountLeadingZeroBits() [4/5]

QT_POPCOUNT_RELAXED_CONSTEXPR uint qCountLeadingZeroBits ( quint8  v)
inlinenoexcept

Definition at line 428 of file qalgorithms.h.

Here is the call graph for this function:

◆ qCountLeadingZeroBits() [5/5]

QT_POPCOUNT_RELAXED_CONSTEXPR uint qCountLeadingZeroBits ( unsigned long  v)
inlinenoexcept

Definition at line 474 of file qalgorithms.h.

Here is the call graph for this function:

◆ qCountTrailingZeroBits() [1/5]

constexpr uint qCountTrailingZeroBits ( quint16  v)
inlineconstexprnoexcept

Definition at line 384 of file qalgorithms.h.

Here is the call graph for this function:

◆ qCountTrailingZeroBits() [2/5]

constexpr uint qCountTrailingZeroBits ( quint32  v)
inlineconstexprnoexcept

Definition at line 362 of file qalgorithms.h.

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

◆ qCountTrailingZeroBits() [3/5]

constexpr uint qCountTrailingZeroBits ( quint64  v)
inlineconstexprnoexcept

Definition at line 395 of file qalgorithms.h.

Here is the call graph for this function:

◆ qCountTrailingZeroBits() [4/5]

constexpr uint qCountTrailingZeroBits ( quint8  v)
inlineconstexprnoexcept

Definition at line 373 of file qalgorithms.h.

Here is the call graph for this function:

◆ qCountTrailingZeroBits() [5/5]

constexpr uint qCountTrailingZeroBits ( unsigned long  v)
inlineconstexprnoexcept

Definition at line 406 of file qalgorithms.h.

Here is the call graph for this function:

◆ qDeleteAll() [1/2]

template<typename Container >
void qDeleteAll ( const Container c)
inline

Definition at line 65 of file qalgorithms.h.

Here is the call graph for this function:

◆ qDeleteAll() [2/2]

template<typename ForwardIterator >
QT_BEGIN_NAMESPACE Q_OUTOFLINE_TEMPLATE void qDeleteAll ( ForwardIterator  begin,
ForwardIterator  end 
)

Definition at line 56 of file qalgorithms.h.

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

◆ qPopulationCount() [1/5]

Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR uint qPopulationCount ( long unsigned int  v)
inlinenoexcept

Definition at line 301 of file qalgorithms.h.

Here is the call graph for this function:

◆ qPopulationCount() [2/5]

Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR uint qPopulationCount ( quint16  v)
inlinenoexcept

Definition at line 271 of file qalgorithms.h.

◆ qPopulationCount() [3/5]

Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR uint qPopulationCount ( quint32  v)
inlinenoexcept

Definition at line 244 of file qalgorithms.h.

Here is the caller graph for this function:

◆ qPopulationCount() [4/5]

Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR uint qPopulationCount ( quint64  v)
inlinenoexcept

Definition at line 284 of file qalgorithms.h.

◆ qPopulationCount() [5/5]

Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR uint qPopulationCount ( quint8  v)
inlinenoexcept

Definition at line 259 of file qalgorithms.h.