EnTT is a header-only, tiny and easy to use entity-component system (and much more) written in modern C++ and even used by Mojang in Minecraft.
The entity-component-system (also known as ECS) is an architectural pattern used mostly in game development.
https://github.com/skypjack/entt