31 #pragma warning(disable:4786) // identifier was truncated to '255' 38 template <
class Function>
42 table[type2][type1] =
function;
43 table[type1][type2] =
function;
47 return table[type1][type2];
Function table[NUM_TYPES][NUM_TYPES]
void addEntry(ShapeType type1, ShapeType type2, Function function)
Function lookup(ShapeType type1, ShapeType type2) const