title: noexcept specifiers in function typedefs
body: <p>Are noexcept specifiers accepted in function typedefs?</p>
  
  <p>as in:</p>
  
  <pre><code> typedef void (*fptr)()  noexcept;
  </code></pre>
  
  <p>Intuitively, noexcept specifiers seem to make sense since they would allow some optimisations at the caller's side.</p>
  
  <p>I got a mixed answer from gcc 4.6.1. </p>
  
  <pre><code> typedef void (*fptr)()  noexcept;
  </code></pre>
  
  <p>results in:
      error: ‘fptr’ declared with an exception specification</p>
  
  <p>but:</p>
  
  <pre><code>template&lt;void (*FPtr)()  noexcept&gt;
  struct A{};
  </code></pre>
  
  <p>compiles without warning.</p>