title: Working with a C++ compiler that doesn't support exceptions?
body: <p>I'm porting a C++ library to my mbed using the hosted <a href="http://mbed.org/handbook/mbed-Compiler" rel="noreferrer">mbed C++ compiler</a> which is basically ARMCC with a configuration that you can't really change. One of the configuration options they decided on (for some unknown reason) is that exceptions are not supported. So a <code>throw</code> and a <code>catch</code> will yield compiler errors. </p>
  
  <p>How exactly can you use the standard C++ library without exceptions? I use some vectors in my library. How do I know if the <code>push_back</code> function actually succeeded? Is there any standard way of knowing if an exception occurred or does it just do an <code>exit(1)</code> or something?</p>