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

Support emplacement in Qt containers

XMLWordPrintable

    • emplacement

      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.

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

            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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes