title: Does Symbol table for C++ code contain function names along with class names?
body: <p>I have been searching through various posts regarding whether symbol table for a C++ code contains functions' name along with the class name. Something which i could find on a post is that it depends on the type of compiler,</p>
  
  <p>if it compiles code in one-pass then it will not need to store class name and subroutine names in your symbol table </p>
  
  <p>but if it is a multi-pass compiler, it could add information about the class(es) it encounters and their subroutines so that it could do argument type checking and issue meaningful error messages.</p>
  
  <p>I could not understand whether it is actually compiler dependent or not? I was assuming that compiler(for C++ code) would put function names with class names in the table whether it is single pass or multi pass compiler. How is it dependent on the passes? I don't have such a great/deep knowledge.
  Moreover, could anyone show a sample symbol table for a simple C++ class, how would it look like (function names with class name)? </p>