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

Class Wizard: include guard naming when using namespaces

XMLWordPrintable

    • 0c60770fabdc825949e3f1c3db1b5b7b17039bc0

      It would be nice if the class wizard would create an inculde guard which contains class name and namespace when creating a class with a namespace via the class wizard.

      Now the class wizard creates for the class "MyNamespace::MyClass" the include guard:
      #ifndef MYCLASS_H
      #define MYCLASS_H

      to avoid duplicate include guards it would be nice if the include guard would be
      #ifndef MYNAMESPACEMYCLASS_H
      #define MYNAMESPACEMYCLASS_H

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

            jkobus Jarek Kobus
            bachera2 Andreas Bacher (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes