template<typename Element Element>
gtopt::ElementIndex struct

Template parameters
Element The element type this index is associated with

A strongly-typed index for accessing elements in a collection. Inherits from StrongIndexType to enforce type safety in element access.

Public types

using Base = StrongIndexType<Element>

Public static variables

static constexpr auto Unknown

Public functions

auto ElementIndex() -> constexpr noexcept