title: Performance hit from C++ style casts?
body: <p>I am new to C++ style casts and I am <strong>worried that using C++ style casts will ruin the performance of my application</strong> because I have a <a href="http://en.wikipedia.org/wiki/Real-time_computing" rel="noreferrer">real-time-critical deadline</a> in my interrupt-service-routine.</p>
  
  <p>I heard that some casts will even throw exceptions!</p>
  
  <p>I would like to use the C++ style casts because it would make my code more "robust". However, <strong>if there is any performance hit</strong> then I will probably not use C++ style casts and will instead spend more time testing the code that uses C-style casts.</p>
  
  <hr>
  
  <p>Has anyone done any rigorous testing/profiling to compare the performance of C++ style casts to C style casts?</p>
  
  <p>What were your results? </p>
  
  <p>What conclusions did you draw?</p>