![]() |
Gaia-ECS v1.0.0
A simple and powerful entity component system
|
Converts an item to the sparse identifier used by sparse_storage. More...
#include <sparse_storage.h>
Static Public Member Functions | |
| static sparse_id | get (const T &item) noexcept |
| Returns the sparse identifier for an item. | |
Converts an item to the sparse identifier used by sparse_storage.
| T | Item type. Non-empty types must specialize this conversion. |
Returns the sparse identifier for an item.
| item | Item to convert. |