title: Does the function declaration order matter in a header file?
body: <p>I wonder if the declaration order of a function in a header has an importance.</p>
  
  <p>Let's imagine : I've got two projects that use the same header definition, and the header had to be copied for some obscure reason. And these headers are not the same in terms of declaration function order.</p>
  
  <p>So the header for my first project would be :</p>
  
  <pre><code>class A {
    someFunctionA();
    someFunctionB();
  }
  </code></pre>
  
  <p>and the header in the second project :</p>
  
  <pre><code>class A {
    someFunctionB();
    someFunctionA();
  }
  </code></pre>
  
  <p>And now what will happen if I use the implementation created in the first project in my second project (like a dynamic library or whatever) ?</p>
  
  <p>I'm aware that I should use the same header definition for both project, I was just wondering if the compiler will use some sort of stack for the functions or will reorder them.</p>