title: Does order of method declarations in a class matter to the compiler?
body: <p>I am using a third-party static library (.lib file) in a C++ project.  The author of the static library added a method to a class for me and sent me an updated build of the library.</p>
  
  <p>Unfortunately, he didn't send a new header file and communication with him is slow, so I may not get the new header soon.  I know the method signature of the new method, so I could just add it to the header file.</p>
  
  <p>My question is whether it matters where in the list of public methods I add the new declaration (top, bottom, middle...).  My best guess is that it <em>does</em> and that the order in the header file determines the order in the compiled class.  Can someone confirm or refute this?</p>