Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22947

Support creating singleton C++ class.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • None
    • C/C++/Obj-C++ Support
    • None
    • All

    Description

      Click "New file or project" menu. Select "C+" --> "Singleton C+ Class" template.

      Qt creator will create a C++ Class marked as "final" with private constructor/destructor, a staticĀ 

      getInstance() function and its copy/move constructors/assignment operators all disabled.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            zc8424 chi zhang
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes