56 #include <QtCore/qvarlengtharray.h> 64 template <
typename T,
int Prealloc>
76 inline void insert(
int idx,
const T &t)
81 ::memmove(
ptr + idx + 1,
ptr + idx, (sz - idx) *
sizeof(T));
88 for (
int j = 0; j <
s; ++j) {
98 ::memmove(
ptr + idx,
ptr + idx + 1, (
s - idx - 1) *
sizeof(T));
115 #endif // QPODLIST_P_H
#define QT_END_NAMESPACE
This macro expands to.
#define QT_BEGIN_NAMESPACE
This macro expands to.
void removeAll(const T &t)
void insert(int idx, const T &t)
void realloc(int size, int alloc)