gtopt::AmplCompoundKey struct

Key identifying a class-level compound attribute. Compounds are purely syntactic sugar over existing AMPL columns, so they are indexed by class + compound name only (not per-element).

Public variables

std::string_view class_name
std::string_view compound_name

Friends

auto operator<=>(const AmplCompoundKey&, const AmplCompoundKey&) -> auto defaulted noexcept