gtopt/strong_index_vector.hpp file

Header for type-safe vector access with strong typing.

This module provides a type-safe vector implementation that requires strongly-typed indices for element access, preventing accidental access with incorrect index types. The implementation leverages move semantics for efficient memory management and operations.

Namespaces

namespace gtopt

Classes

template<typename Index Index, typename T T>
class gtopt::StrongIndexVector