title: Arduino C++ code: can you use virtual functions and exceptions?
body: <p>Following up on <a href="https://stackoverflow.com/questions/452139/writing-firmware-assembly-or-high-level#452401">this comment</a> from the question <a href="https://stackoverflow.com/questions/452139/writing-firmware-assembly-or-high-level">Writing firmware: assembly or high level?</a>: </p>
  
  <p>When compiling C++ code for the <a href="http://arduino.cc" rel="nofollow noreferrer">Arduino</a> platform, can you use virtual functions, exceptions, etc? Or would you want to (have to) use a subset of C++ (as described in <a href="https://stackoverflow.com/questions/452139/writing-firmware-assembly-or-high-level#452401">the comment</a>)?</p>
  
  <p>Any other caveats when programming for the Arduino platform? </p>