<p>After some find and replace refactoring I ended up with this gem:</p>

<pre><code>const class A
{
};
</code></pre>

<p>What does "const class" mean? It seems to compile ok.</p>

If you had this:
```
```
const class A
{
} a;
```
```
Then it would clearly mean that 'a' is const. Otherwise, I think that it is likely invalid c++.