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

Consider renaming C++ header files to end with .hpp

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Development Platform

      Historically our header files have carried the .h suffix. Most toolchains consider that to be a C header, not C++. That hasn't been an issue in practice, for the most part, since the build system decides whether to build with C or C++ based on source file extensions, not header files. However, we do have tooling that wants to operate on header files directly sometimes, via things like clang-format or related IDE tooling. The use of the C-associated suffix can be misleading for those tools.

      We should evaluate whether we can bulk migrate our header files to a .hpp suffix.

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: