struct
BitsetHash
bitset<MAX_COMPONENTS> has no built-in std::hash, so the archetype map keys on this: 64-bit chunks mixed boost-style. Runs on archetype lookup only, never in the GetComponent hot path.
- Module
- ECS
- Header
#include "ECS/Archetype.h"- Namespace
Mowo
Public functions
| Returns | Name | Description |
|---|---|---|
size_t | operator() |
Function details
operator()
C++
size_t operator()(const std::bitset<MAX_COMPONENTS>& bs) const noexceptGenerated from ECS/Archetype.h via ecs.json · Nov 4, 2026Version 1.0.0