Chain
This class is used for linear variable ordering for counting and compilation, where each element is an unsigned integer.- Constructors
void Assign(vector::iterator begin, vector ::iterator end) void Reserve(unsigned capa)void Append(unsigned elem)void Append(unsigned * elems, unsigned size)void Append(vector::iterator begin, vector ::iterator end)
We can construct a variable via a default constructor, a copy constructor, a constructor that takes in an unsigned integer as initial size, or a constructor that takes in a vector of unsigned integers.
Clear the chain and assign it the new elements between begin and begin.
Reserve memory for the elements.
Append an element to the end of the chain.
Append several elements to the end of the chain.
Append the elements between begin and begin to the end of the chain.