title: sizeof() a vector
body: <p>I have a <code>vector&lt;set&lt;char&gt; &gt;</code> data structure (transactions database) and I want to know the size of it. When I use sizeof() with each <code>set&lt;char&gt;</code> the size is 24 in spite of the set contains 3, 4 or 5 chars. Later, when I use sizeof() with the <code>vector&lt;set&lt;char&gt; &gt;</code> the size is 12... I suppose this is not the way to know the size of a data structure. Any help?
  Thanks.</p>