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

Update 'More efficient string construction' documentation

    XMLWordPrintable

Details

    • 13
    • Foundation PM Prioritized

    Description

      Consider further updating the QString overview documentation to guide people towards operator""_s in the StringLiterals namespace.

      • Initializing a string starts with a normal const char * constructor, and goes on explaining some rather esoteric ways of initializing a string. operator""_s or operator""_L1 is not mentioned. I think it should be at least mentioned alongside const char * constructor, optionally with a reference to More Efficient String Construction.
      • QStringLiteral documentation should also mention operator""_s as alternative.

      Related:

      • (minor) Remove reference to 'In 4.6, ' .

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            kkohne Kai Köhne
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes