Main Page
Classes
Files
File List
File Members
Cell.hpp File Reference
Go to the source code of this file.
Classes
class
Cell
Tagged union that holds an int, double, or symbol.
More...
Enumerations
enum
TypeTag
{
type_int
,
type_double
,
type_symbol
}
Detailed Description
Implements a tagged union - a kind of struct that uses the same memory to hold an int, a double, or a symbol, by using an additional type tag member to keep track of which type of data is currently being held in the cell.
Enumeration Type Documentation
enum
TypeTag
Enumerator:
type_int
type_double
type_symbol
Generated on Tue Sep 16 10:30:40 2014 for COMP2012H by
1.5.8