title: Namespace without a name in C++
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/154469/unnamed-anonymous-namespaces-vs-static-functions">Unnamed/anonymous namespaces vs. static functions</a>  </p>
  </blockquote>
  
  
  
  <p>I came across this code </p>
  
  <pre><code>namespace ABC {
  namespace DEF {
  
  namespace
  {
  </code></pre>
  
  <p>I expected the namespace should be followed by some name, but it's not the case with this code.</p>
  
  <p>Is this allowed in C++? What's the advantage for this unnamed namespace? </p>