Make QStringView::storage_type public
... so users of QStringView::utf16() can use it, without having to revert to decltype()/auto. Change-Id: Ie09696b9354d3917914f8e2692769cfd35b01ae1 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>bb10
parent
13bb46bc3a
commit
30efb14313
|
|
@ -103,12 +103,12 @@ struct IsCompatibleStdBasicString
|
|||
|
||||
class QStringView
|
||||
{
|
||||
public:
|
||||
#if defined(Q_OS_WIN) && !defined(Q_COMPILER_UNICODE_STRINGS)
|
||||
typedef wchar_t storage_type;
|
||||
#else
|
||||
typedef char16_t storage_type;
|
||||
#endif
|
||||
public:
|
||||
typedef const QChar value_type;
|
||||
typedef std::ptrdiff_t difference_type;
|
||||
typedef qssize_t size_type;
|
||||
|
|
|
|||
Loading…
Reference in New Issue