title: What's the point of const void?
body: <p>Apparently, it is possible to declare a function returning <code>const void</code>:</p>
  
  <pre><code>const void foo()
  {
  }
  </code></pre>
  
  <p>g++ seems to consider the <code>const</code> important, because the following code does not compile:</p>
  
  <pre><code>#include &lt;type_traits&gt;
  
  static_assert(std::is_same&lt;void(), const void()&gt;::value, "const matters");
  </code></pre>
  
  <p>So does <code>const void</code> have any practical significance?</p>