123456789101112
struct rectangle { enum colour_t { WHITE, RED, GREEN, BLUE, MAGENTA, CYAN, YELLOW, BLACK }; rectangle( unsigned int height, unsigned int width, colour_t clr ) ; // ... unsigned int width ; unsigned int height ; colour_t colour ; };