#pragma once class CounterT { public: CounterT(); size_t GetId(void) const; size_t GetRealCount(void) const; static size_t GetTotalInstances(void); static void AddInstances(size_t number); static void BlabAboutInstance(CounterT instance); private: static inline size_t count{0}; static size_t realCount; size_t myId; };