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

remove global "using namespace std" directives

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Trivial - P5 Trivial - P5
    • 4.1.9
    • None
    • Internal Code
    • None
    • Fully Compatible
    • Dev Tools 2019-03-11
    • 78

    Description

      We have a linter that complains about new "using namespace" instances.

      using namespace std; 

      These can create conflicts or unintended lookup results between std:: and our code's names.

      They are also a bad precedent to leave in our codebase as style examples.

      We can just get rid of them with some quick win regex work.

      Attachments

        Activity

          People

            billy.donahue@mongodb.com Billy Donahue
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: