StaticID

Unique ID generated from a symbol.

See staticID for generating static IDs.

Members

Functions

opCmp
int opCmp(StaticID other)

Compare two static IDs, enabling sorting. Note that this order is only guaranteed to be the same during the same program run, as the IDs may change.

opEquals
bool opEquals(StaticID other)
toHash
size_t toHash()

Variables

id
size_t id;

The ID.

name
string name;

Name of the symbol holding the ID.

Meta