kgorking / ecs

A header-only/importable c++20 implementation of an entity-component-system (ecs), with focus on a simple interface and speed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add an 'always_const' component flag

kgorking opened this issue · comments

If this flag is present in a component, a static_assert will trigger if it is used in a system and not marked as const.

Implemented, forgot to do a pull request.