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 17 18 19 | extern struct Y { int n; float f; } y1; enum E { e1 }; struct X { int n; } x1; template<typename T> struct F { int n; friend bool operator==(const F &a, const F &b) { return a.n == b.n; } }; int f() { return y1.n + e1 + y1.f + x1.n; } |