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

Provide a shorthand for using a deleteLater-based deleter in std::{shared,unique}_ptr

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P4: Low
    • None
    • 6.6
    • Core: Object Model
    • None

    Description

      Like QScopedPointerDeleteLater for QScopedPointer, but with a name that has no connection to QScopedPointer. e.g. QObject::DeleteLaterDeleter as suggested by Marc Mutz.

      While I'm not suggesting we delete QScopedPointer any time soon, if we would ever want to do it then we should have some documented way to replace it with unique_ptr that doesn't still include using ScopedPointer facilities.

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            manordheim MÃ¥rten Nordheim
            Vladimir Minenko Vladimir Minenko
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes