title: class definition and class declaration
body: <p>I am reading <em>programming principles and practice using c++</em> (Bjarne Stroustrup),</p>
  
  <p>9.4.4 Defining member functions ,page 312, it says</p>
  
  <p>1.</p>
  
  <blockquote>
    <p>writing the definition of a member function within the <strong>class definition</strong> has two effects...</p>
  </blockquote>
  
  <p>2.</p>
  
  <blockquote>
    <p>Don't put member function bodies in the <strong>class declaration</strong> unless you know that ...</p>
  </blockquote>
  
  <p>does the author write wrong? it talks about the same thing, why first sentence is "class definition" and second is "class declaration" ?</p>
  
  <p>thanks</p>