title: C++: CRTP: How to know all objects count?
body: <p>I need you guys help in (may be basic question, sorry for that) in CRTP.
  This is based on following posts:
  <a href="https://stackoverflow.com/questions/15050622/c-object-lifetime-profiling">C++ object lifetime profiling</a>
  <a href="https://stackoverflow.com/questions/11113702/how-to-count-the-number-of-crtp-subclasses-of-a-template-class">How to count the number of CRTP subclasses of a template class?</a></p>
  
  <p>Using CRTP, we can able to count the number of objects created for each class type. But, using this approach I can't find the total number of objects created in the system.</p>
  
  <p>Is there any way to achieve this?</p>
  
  <p>Thanks in advance.</p>
  
  <p>Regards,
  SNR</p>