title: should I take arguments to inline functions by reference or value?
body: <p>Is one of these faster?</p>
  
  <pre><code>inline int ProcessByValue(int i)
  {
      // process i somehow
  }
  
  inline int ProcessByReference(const int&amp; i)
  {
      // process i somehow
  }
  </code></pre>
  
  <p>I know that integral types should be passed by value. However, I am concerned that the compiler might inline ProcessByValue to contain a copy. Is there a rule for this?</p>