title: What does the name after the closing class bracket means?
body: <p>I've encountered <a href="http://ideone.com/gX5wF" rel="noreferrer">this</a> code example and I remembered I've seen it before and I didn't know what it is for and what it does? I've searched on the internet but without luck.</p>
  
  <p>Code:</p>
  
  <pre><code>class C
  {
      int x; // a non-static variable, implicitly private
  
  public:
      C() : x(0) {} // default constructor
  
      // a static member function, which uses a non-static variable perfectly well
      static int Incr(C&amp; instance) { return ++(instance.x); }
  } g_c;
  
  int main(void)
  {
      C c2;
      return C::Incr(g_c) + C::Incr(c2);
  }
  </code></pre>
  
  <p>What does <code>g_c</code> after the last class bracket means?</p>