tenzr::txpr::VarId¶
Typed identifier for a variable within a Txpr, wrapping a uint32 index; the sentinel value marks an invalid id.
#include <txpr.h>
Public Functions¶
| Name | |
|---|---|
| constexpr bool | IsValid() const Returns true unless this is the sentinel invalid identifier. |
| constexpr bool | operator==(const VarId & other) const =default |
| constexpr VarId | Invalid() Returns the sentinel invalid VarId. |
Public Attributes¶
| Name | |
|---|---|
| uint32_t | id |
Public Functions Documentation¶
function IsValid¶
Returns true unless this is the sentinel invalid identifier.
function operator==¶
function Invalid¶
Returns the sentinel invalid VarId.