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

Support emplacement in Qt containers

    XMLWordPrintable

Details

    • Epic
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • None
    • emplacement

    Description

      We have a few containers which have emplacement functions (emplace(), emplace_back(), emplace_front(), try_emplace(), ...).

      Make sure all of them have all of the emplacement functions required by the STL for the closes type of container.

      Perhaps the most glaring omission as of this writing is QVariant: Both std::variant and std::any have support for emplacing objects via the in_place_type_t ctor as well as the emplace<T>() member functions, but QVariant doesn't.

      Attachments

        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: