title: Difference between “static const”, “#define”, and “enum” in performance and memory usage aspects
body: <p>There might be any because of inlining of <code>#define</code> statements.</p>
  
  <p>I understand that answer may be compiler dependent, lets asume GCC then.</p>
  
  <p>There already are similar questions <a href="https://stackoverflow.com/questions/1674032/static-const-vs-define-in-c">about C</a> and <a href="https://stackoverflow.com/questions/1637332/static-const-vs-define">about C++</a>, but they are more about usage aspects.</p>