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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

              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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes