qn on exception throwing

Are these 2 equivalent?

 
throw runtime_error( "error" );


and

1
2
3
runtime_error error( "error" );
...
throw error;
Last edited on
They would be if there was no ...
Topic archived. No new replies allowed.