is there memory leak when STL throws a "bad_alloc" exception?
<p>I have a program that using STL to use big containers of numbers, sometimes <code>vector</code>, sometimes <code>deque</code>; sometimes it constructing a big <code>vector</code> directly, sometimes it starts with a small size then enlarges using <code>resize</code>. </p>

<p>The <code>vector</code> or <code>deque</code> constructor or <code>resize</code> sometimes throws a "bad_alloc" exception. My question is, is there memory leak here? 
If there's no memory leak, I might still continue; but if there is , things are more troublesome.</p>

<p>My system is Windows 7 64-bit, Visual Studio 2013, and working on 32-bit programs.</p>