Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-41071

convert all appearances of NULL in C++ code to nullptr

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: 4.3 Required
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Dev Tools 2019-06-17
    • 100

      C's NULL has weaker type safety than C++11's nullptr. It's convertible to nullptr_t, but also to integer types (emitting a warning, but still).

      2011 was a while ago. NULL is unnecessary vocabulary, and should be easy to globally replace.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: