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

[spike] QString/QByteArray: determine how missing assign() overload set should look like

    XMLWordPrintable

    Details

      Description

      See epic for more details.

      The std::string::assign() overload set is a bit ... special (https://en.cppreference.com/w/cpp/string/basic_string/assign). Discuss and spec out a version of the overload set that fits more to the Qt ecosystem.

      E.g.

      • look at QString/QByteArray existing ctors
      • consider assignment from views
        • just take views
        • or anything implicitly-convertible to them, like STL does
      • we probably don't want the implicit subsetting versions

      Acceptance criteria:

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              cnn Qt Core & Network
              Reporter:
              mmutz Marc Mutz
              PM Owner:
              Vladimir Minenko Vladimir Minenko
              RnD Owner:
              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