What can mean "cout << color::green;" : I had this question on the test. I know that I can do something like that

    enum class Color { red, green = 1, blue };
    Color c = Color::blue;

    if( c == Color::blue )
    cout << "blue\n";

But when I replace `cout << "blue\n";` with `cout << color::green`, it doesn't even compile. Any ideas?



