title: Is a nested class of a final class automatically final?
body: <p>I've a nested class in a final class. Is this nested class considered final by the C++ standard, or is it still possible to inherit from the inner class?</p>
  
  <pre><code>class A final
  {
  public:
     class B
        {
        ...
        };
     class C: public B;  // is this allowed (MSVC accepts it)?
     ...
  };
  
  class D: public A::B;  // is this allowed (MSVC accepts it)?
  </code></pre>
  
  <p>Visual studio accepts both. Why?</p>