Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qcontainertools_impl.h File Reference

(3a284dc19d1c77692f2faddedc674cc293d51a00)

#include <QtCore/qglobal.h>
#include <QtCore/qtypeinfo.h>
#include <QtCore/qxptype_traits.h>
#include <cstring>
#include <iterator>
#include <memory>
#include <algorithm>
+ Include dependency graph for qcontainertools_impl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QtPrivate::ArrowProxy< T >
 
struct  QtPrivate::is_invoke_result_explicitly_convertible< R, F, ArgTypes >
 

Namespaces

namespace  QtPrivate
 

Macros

#define QCONTAINERTOOLS_IMPL_H
 

Typedefs

template<typename Iterator>
using QtPrivate::IfIsInputIterator
 
template<typename Iterator>
using QtPrivate::IfIsForwardIterator
 
template<typename Iterator>
using QtPrivate::IfIsNotForwardIterator
 
template<typename Iterator>
using QtPrivate::KeyAndValueTest
 
template<typename Iterator>
using QtPrivate::FirstAndSecondTest
 
template<typename Iterator>
using QtPrivate::IfAssociativeIteratorHasKeyAndValue
 
template<typename Iterator>
using QtPrivate::IfAssociativeIteratorHasFirstAndSecond
 
template<typename Iterator>
using QtPrivate::MoveBackwardsTest
 
template<typename Iterator>
using QtPrivate::IfIteratorCanMoveBackwards
 
template<typename T, typename U>
using QtPrivate::IfIsNotSame
 
template<typename T, typename U>
using QtPrivate::IfIsNotConvertible = typename std::enable_if<!std::is_convertible<T, U>::value, bool>::type
 

Functions

template<typename T, typename Cmp = std::less<>>
static constexpr bool QtPrivate::q_points_into_range (const T *p, const T *b, const T *e, Cmp less={}) noexcept
 
template<typename C, typename T>
static constexpr bool QtPrivate::q_points_into_range (const T &p, const C &c) noexcept
 
template<typename T, typename N>
QT_WARNING_PUSH void QtPrivate::q_uninitialized_move_if_noexcept_n (T *first, N n, T *out)
 
template<typename T, typename N>
void QtPrivate::q_uninitialized_relocate_n (T *first, N n, T *out)
 
template<typename T>
QT_WARNING_POP void QtPrivate::q_rotate (T *first, T *mid, T *last)
 
template<typename T, typename Predicate>
T * QtPrivate::q_uninitialized_remove_copy_if (T *first, T *last, T *out, Predicate &pred)
 
template<typename iterator, typename N>
void QtPrivate::q_relocate_overlap_n_left_move (iterator first, N n, iterator d_first)
 
template<typename T, typename N>
void QtPrivate::q_relocate_overlap_n (T *first, N n, T *d_first)
 
template<typename Container, typename InputIterator, IfIsNotForwardIterator< InputIterator > = true>
void QtPrivate::reserveIfForwardIterator (Container *, InputIterator, InputIterator)
 
template<typename Container, typename ForwardIterator, IfIsForwardIterator< ForwardIterator > = true>
void QtPrivate::reserveIfForwardIterator (Container *c, ForwardIterator f, ForwardIterator l)
 
template<typename Container, typename Predicate>
auto QtPrivate::sequential_erase_if (Container &c, Predicate &pred)
 
template<typename Container, typename T>
auto QtPrivate::sequential_erase (Container &c, const T &t)
 
template<typename Container, typename T>
auto QtPrivate::sequential_erase_with_copy (Container &c, const T &t)
 
template<typename Container, typename T>
auto QtPrivate::sequential_erase_one (Container &c, const T &t)
 
template<typename T, typename Predicate>
qsizetype QtPrivate::qset_erase_if (QSet< T > &set, Predicate &pred)
 
template<typename Container, typename Predicate>
auto QtPrivate::associative_erase_if (Container &c, Predicate &pred)
 

Variables

template<typename R, typename F, typename ... ArgTypes>
constexpr bool QtPrivate::is_invocable_explicit_r_v
 

Macro Definition Documentation

◆ QCONTAINERTOOLS_IMPL_H

#define QCONTAINERTOOLS_IMPL_H

Definition at line 12 of file qcontainertools_impl.h.