Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-110407

Remove QStringView's ushort support [3/3]: remove support

XMLWordPrintable

      The use of ushort as the scalar type to mean QChar dates back to C++98 when char16_t and char32_t did not exist, yet. Now that they do, use of the C++11 character types yields self-explanatory APIs and less implementation work (casts).

      The QStringView support for ushort characters was helpful in the run up to QTBUG-110403, but now is the time to retire it.

      Acceptance criteria:

      • QStringView (and QAnyStringView, QString, ...) API that deals in ushort for UTF-16 and in uint for UTF-32 types is removed, or at the very least fully inline and non-exported.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            cnn Qt Core & Network
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes