18 return ((
int) ((intptr_t)
ptr)) + (((int) ((intptr_t)
ptr)) % 19);
31 cout <<
"-------------------------------------------------\n";
33 cout <<
"-------------------------------------------------\n";
int N(array< T > a)
Get the length of the array.
int hash(pointer ptr)
Computes a hash value for a pointer.
int new_type_identifier()
Generates a new type identifier.
void handle_exceptions()
Function used to handle exceptions by displaying and clearing the exception message.
tm_ostream & operator<<(tm_ostream &out, display_control ctrl)
Output operator for display control options.
void tm_throw(const char *msg)
Function used to throw an exception with a specified error message.
string the_exception
Global variable used to store the current exception message.
static int current_indent
display_control
Enumeration of display control options.
The list class represents a linked list.