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

new << operator for QMap

    XMLWordPrintable

Details

    Description

      It would be handy if for

      template <class Key, class T>
      class QMap

      there was an operator

      template <class Key, class T>
      QMap< Key, T >& QMap< Key, T >::operator<<( const QPair< Key, T >&
      new_entry )
      {
      (*this)[new_entry.first] = new_entry.second;
      return *this;
      }

      Attachments

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

        Activity

          People

            goffart Olivier Goffart (closed Nokia identity) (Inactive)
            dettman Dean Dettman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes