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

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

    XMLWordPrintable

Details

    • 3
    • Foundation Sprint 81, Foundation Sprint 82, Foundation Sprint 83

    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

              dennisoberst Dennis Oberst
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes