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

Coding style documentation regarding NULL/0 vs. nullptr is outdated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 4.7.1
    • Qt Creator 4.7.0
    • Documentation
    • None
    • 8e8598f2a34766880506f3cc4a3e4fb325eb29bb

    Description

      The coding style docs still recommend using 0 for null-pointers.

      However, nowadays nullptr is the recommended and used everywhere in Creator (except the places that have not been updated yet).

      Reference: https://doc-snapshots.qt.io/qtcreator-extending/coding-style.html#null-pointers

      Attachments

        Activity

          People

            aha_1980 André Hartmann
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: