title: C++ Assertion function to check that Exception is thrown
body: <p>I'm familiar with how the standard C++ assertion works.  This has worked well in my project for a variety of testing purposes.</p>
  
  <p>For example, suppose that I want to check that a certain exception is thrown by my code.  </p>
  
  <p>Is this possible to do without using a testing framework like CPPUnit?</p>