Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 520 Bytes

File metadata and controls

10 lines (9 loc) · 520 Bytes

C++ language project subset reference

  • Everything should be const, constexpr or consteval if possible
  • Every passed value should be const reference (pass-by-value only if necessary)
  • Every initialization should use { initializer }
  • copy-initialization only if necessary
  • () is reserved for function (or callable objects) calls and arithmetic operation
  • Every constructor have to be explicit
  • Every user defined conversion have to be explicit
  • using namespace is forbidden (only using for single targets)