title: Object declaration in try and catch not defined in scope
body: <p>I would like to declare an object in try / catch statement like this:</p>
  
  <pre><code>try {
    Object object(value);
  } catch (exception) {
    return 1;
  }
  object.usingExemple();
  </code></pre>
  
  <p>G++ tells me that object is not defined in the scope.</p>
  
  <p>I do understand that if try receives an exception object is not created and cannot be used.
  But shouldn't g++ know that I leave the function if it happens ?</p>
  
  <p>How could I declare an object that throw an exception in the constructor without using new ?</p>
  
  <p>Thanks in advance :)</p>