gtopt::Object struct

Base object type providing common identification functionality.

Serves as the foundation for all objects in the optimization framework. Provides consistent identification behavior through the id() method.

Derived classes

template<typename Object Object>
class StorageLP

Public functions

template<typename Self Self>
auto id(this const Self& self) -> constexpr auto noexcept
Gets the object's identifier (explicit object syntax)

Function documentation

template<typename Self Self>
constexpr auto gtopt::Object::id(this const Self& self) noexcept

Gets the object's identifier (explicit object syntax)

Parameters
self Reference to this object
Returns Id containing the object's uid and name