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

          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: