Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Qpid C++ follows this guide: http://geosoft.no/development/cppstyle.htmlImage Removed

With the following amendments:

  • Rule 34: Qpid source files have .h and .cpp extensions.
  • Rule 71: Qpid uses 4 space indent, not 2. No tabs.
  • Rule 75, 81: Qpid allows (but does not require) else/catch to be on same line as preceeding }
  • Rule 11: Qpid does not add an underscore to member variable names.

...

  • Rule q1: Unlike other blocks, the contents of namespace blocks are not indented to prevent excessive line splitting, and multiple namespaces may be opened or closed on a single line. For example:
    Code Block
    namespace qpid {
     namespace common {
    
    class SomeClass {
      void foo();
    };
    
    }} // namespace qpid::common
    

...