Embedded C++ Do’s & Dont’s

Good:

  • small c++ inline code
  • bound vectors
  • ring buffer
  • compile time decisions

Bad:

  • RTTI
  • Dynamic Memory
  • run time decisions that can be determined at compile time

Leave a Comment