gtopt/collection.hpp file

Header for efficient typed element collection container.

This module provides a Collection container optimized for efficient element lookup by UID, name, or index, with strong move semantics support.

Namespaces

namespace gtopt

Classes

template<CopyMove Type, typename VectorType VectorType = std::vector<Type>, typename IndexType IndexType = ElementIndex<Type>>
class gtopt::Collection
A container for managing typed elements with efficient lookup by name, UID, or index.