title: Why is "using namespace X;" not allowed at class/struct level?
body: <pre><code>class C {
    using namespace std;  // error
  };
  namespace N {
    using namespace std; // ok
  }
  int main () {
    using namespace std; // ok
  }
  </code></pre>
  <p>I want to know the motivation behind it.</p>