Checking how many members is there in a class
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6844605/c-macro-metaprogram-to-determine-number-of-members-at-compile-time">C++ macro/metaprogram to determine number of members at compile time</a>  </p>
</blockquote>



<p>is there a way to detect at compile time how many members class has?<br>
I've looked the web but no results.</p>
