title: C++ sizeof wrapper class
body: <p>Suppose I have a class A that does not inherit from anything, has no virtual methods, and has exactly one variable of type T. Does C++ guarantee <code>sizeof(A) == sizeof(T)</code>?</p>
  
  <p>EDIT:</p>
  
  <p>Also if T were a composite type, would it make a difference?</p>