Core.Containers.Map (Visera.Core.Containers.Map)¶
Core.Containers.Map provides associative container TMap (key-value map). O(1) or O(log n) lookup, insert, and remove by key; keys are unique. Implementation may be hash-based or ordered (see source). For resource tables, name-to-handle, config entries, and other key-value scenarios.
Responsibilities¶
- Stores key-value pairs; key and value types from template parameters.
- Provides Find, Contains, Insert, Remove, iteration; consistent with other engine containers.
- Shares key constraint (uniqueness) with Set; use
TSetfor key-only set.
See also¶
- Containers — Parent module
- Set — Set (no value, keys only)
- Types.Name — often used as Map key type