|
|
std::cout << color(red) << "red" << std::endl;
but then I get this error: no match for 'operator<<' in 'std::cout << color(4u)' ('u' because its unsigned if I remove unsigned its same error but without the u)
|
|
std::cout << red << "I am red.\n" << blue << "I am blue." << grey << std::endl;
|
|
0 1 2 |
enum { black = color(black) }
but does not work
|
|
|
|
|
|