title: C++ new int[0] -- will it allocate memory?
body: <p>A simple test app:</p>
  
  <pre><code>cout &lt;&lt; new int[0] &lt;&lt; endl;
  </code></pre>
  
  <p>outputs:</p>
  
  <pre><code>0x876c0b8
  </code></pre>
  
  <p>So it looks like it works. What does the standard say about this? Is it always legal to "allocate" empty block of memory?</p>