What is the purpose of static class in C++?
<p>I recently encountered the definition of static class in C++ while going through the source code of ns2 simulator:</p>

<pre><code>static class TCPHeaderClass : public PacketHeaderClass {
public:
        TCPHeaderClass() : PacketHeaderClass("PacketHeader/TCP",
                         sizeof(hdr_tcp)) {
        bind_offset(&amp;hdr_tcp::offset_);
    }
} class_tcphdr;
</code></pre>

<p>I have never encountered a static class in C++ before. What are the properties and uses of the same?</p>
