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

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes