title: Are the static data members and static methods of a class in C++ static objects?
body: <p>From Programming Language Pragmatics, by Scott</p>
  
  <blockquote>
    <p>Object lifetimes generally correspond to one of three principal
    storage allocation mechanisms, used to manage the object’s space:</p>
    
    <ol>
    <li><p>Static objects are given an absolute address that is retained throughout the program’s execution.</p></li>
    <li><p>Stack objects are allocated and deallocated in last-in, ﬁrst-out order, usually in conjunction with subroutine calls and returns.</p></li>
    <li>Heap objects may be allocated and deallocated at arbitrary times. They require a more general (and expensive) storage management
    algorithm.</li>
    </ol>
  </blockquote>
  
  <p>Are the static data members and static methods of a class in
      C++   static objects in the PLP book? </p>
  
  <p>Are the storage for the static data members and static methods of a class allocated at compile time or run time?</p>
  
  <p>Where are they allocated?</p>
  
  <p>Thanks.</p>