![]() |
Gaia-ECS v0.9.3
A simple and powerful entity component system
|
Wrapper for two types forming a relationship pair. Depending on what types are used to form a pair it can contain a value. To determine the storage type the following logic is applied: If. More...
#include <id.h>
Inheritance diagram for gaia::ecs::pair< Rel, Tgt >:Wrapper for two types forming a relationship pair. Depending on what types are used to form a pair it can contain a value. To determine the storage type the following logic is applied: If.
| Rel | is non-empty, the storage type is Rel. If |
| Rel | is empty and |
| Tgt | is non-empty, the storage type is Tgt. |
| Rel | relation part of the relationship |
| Tgt | target part of the relationship |