4#ifndef QSTRINGALGORITHMS_P_H
5#define QSTRINGALGORITHMS_P_H
25 typedef typename StringType::value_type
Char;
28 static const bool isConst = std::is_const<StringType>::value;
44 return std::move(
str);
50 Q_UNREACHABLE_RETURN(StringType());
97 bool unmodified =
true;
105 if (*
src != QChar::Space)
107 *
ptr++ = QChar::Space;
109 if (
ptr !=
dst &&
ptr[-1] == QChar::Space)
bool isEmpty() const noexcept
Returns true if the string has no characters; otherwise returns false.
const_iterator cbegin() const
qsizetype size() const noexcept
Returns the number of characters in this string.
const_iterator cend() const
void resize(qsizetype size)
Sets the size of the string to size characters.
Combined button and popup list for selecting options.
constexpr Initialization Uninitialized
constexpr bool ascii_isspace(uchar c)
static ControlElement< T > * ptr(QWidget *widget)
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
QtPrivate::QRegularExpressionMatchIteratorRangeBasedForIterator begin(const QRegularExpressionMatchIterator &iterator)
static TrimPositions trimmed_helper_positions(const StringType &str)
static StringType trimmed_helper(StringType &str)
static StringType trimmed_helper_inplace(NakedStringType &str, const Char *begin, const Char *end)
std::remove_cv< StringType >::type NakedStringType
StringType::size_type size_type
static bool isSpace(QChar ch)
static StringType simplified_helper(StringType &str)
static bool isSpace(char ch)
StringType::value_type Char
static const bool isConst
static StringType trimmed_helper_inplace(const NakedStringType &, const Char *, const Char *)