title: Defining a member function inside the class instead of outside in C++?
body: <p>By writing the definition of a member function inside the class in the header file as follows, I was told that compiler treats this as an inline function - hence , anywhere it encounters this function being called in the program , it enters the complete body of the function every time instead of jumping to the one location where the function resides in memory. Is this true?</p>
  
  <pre><code>class myClass
  {
      public:
         void Fun1()
         {
           //implemented here
         }
  }
  </code></pre>