Audit in-header namespace level using statements for correctness and non-pollution

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Platforms 2018-02-26
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We have numerous in-header using statements:

      % grep -r '^using .*;' src/mongo/ | grep '\.h:'|wc -l
      138

      Some are basic typedefs. Some improperly import external namespace objects into mongo.

      Filtering for `stdx` which needs to do this, there are just under 100 potential violations:

      % grep -r '^using .;' src/mongo/ | grep '\.h:' | grep -v 'mongo/stdx/.\.h:' | less|wc -l
      98

            Assignee:
            ADAM Martin (Inactive)
            Reporter:
            ADAM Martin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: