title: "Expected unqualified-id before 'namespace'" error
body: <p>I have the following seemingly innocuous piece of code:</p>
  
  <pre><code>#ifndef UI_H
  #define UI_H
  
  #include &lt;string&gt;
  
  namespace ui
  {
      //Displays the main menu, showing loaded vocabulary cards
      //
      //Returns upon completion of display
      void displayMainMenu();
  
      //...More code like the above, just comments followed by functions
  }
  
  #endif
  </code></pre>
  
  <p>which gives me this error message:</p>
  
  <pre><code>filepath/ui.h:6: error: expected unqualified-id before 'namespace'
  </code></pre>
  
  <p>What am I doing wrong here?</p>