Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 418 Bytes

cpp-style.md

File metadata and controls

12 lines (9 loc) · 418 Bytes

C++ programming style

The goal of the programming style used in SRE is to provide a simple API for novice and intermediate C++ programmers.

Rules:

  • No exceptions
  • Object Oriented API
  • Memory management mainly using shared pointers or using plain old data (POD) for simple data types
  • Builder patterns instead of constructor parameters for complex objects
  • Using STL containers
  • Limited use of move semantic