1 2 3 4 5 6
#include "component.h" GroupId BaseComponent::getGroup() { static GroupId group_id = group_id_counter_++; return group_id; }