reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | enum class Foo { FooBar = 42 }; enum Bar { BarBar = 3, BarBarBar = 42 }; int main(int argc, const char **argv) { Foo f = Foo::FooBar; Bar b = BarBar; bool b1 = f == Foo::FooBar; bool b2 = b == BarBar; return 0; // Set break point at this line. } |