(874be50e7b773698abf0b099b0b32a9cbb3cff2d)
#include <QtCore/qchar.h>
#include <QtCore/qcompare.h>
#include <QtCore/qcontainerfwd.h>
#include <QtCore/qbytearray.h>
#include <QtCore/qstringfwd.h>
#include <QtCore/qstringliteral.h>
#include <QtCore/qstringalgorithms.h>
#include <string>
#include <string_view>
#include <QtCore/q20type_traits.h>
Go to the source code of this file.
|
struct | QtPrivate::IsCompatibleCharTypeHelper< Char > |
|
struct | QtPrivate::IsCompatibleCharType< Char > |
|
struct | QtPrivate::IsCompatiblePointerHelper< Pointer > |
|
struct | QtPrivate::IsCompatiblePointerHelper< Char * > |
|
struct | QtPrivate::IsCompatiblePointer< Pointer > |
|
struct | QtPrivate::IsContainerCompatibleWithQStringView< T, Enable > |
|
struct | QtPrivate::IsContainerCompatibleWithQStringView< T, std::enable_if_t< std::conjunction_v< IsCompatiblePointer< decltype(std::data(std::declval< const T & >()))>, std::is_convertible< decltype(std::size(std::declval< const T & >())), qsizetype >, IsCompatibleCharType< typename std::iterator_traits< decltype(std::begin(std::declval< const T & >()))>::value_type >, std::is_convertible< decltype(std::begin(std::declval< const T & >()) !=std::end(std::declval< const T & >())), bool >, std::negation< std::is_same< std::decay_t< T >, QString > >,#define QSTRINGVIEW_REFUSES_QSTRINGREF std::negation< std::is_same< q20::remove_cvref_t< T >, QStringRef > >, std::negation< std::is_same< std::decay_t< T >, QStringView > > > > > |
|
class | QStringView |
| \inmodule QtCore More...
|
|
◆ QSTRINGVIEW_REFUSES_QSTRINGREF
#define QSTRINGVIEW_REFUSES_QSTRINGREF 1 |
◆ Q_DECLARE_TYPEINFO()
◆ qToStringViewIgnoringNull()
template<typename QStringLike, typename std::enable_if< std::is_same< QStringLike,
QString >
::value, bool >
::type = true>
QStringView qToStringViewIgnoringNull |
( |
const QStringLike & | s | ) |
|
|
inlinenoexcept |