title: C++: Does assert() failure trigger any signals?
body: <p>I would like to use this <a href="https://stackoverflow.com/questions/3151779/how-its-better-to-invoke-gdb-from-program-to-print-its-stacktrace/4611112#4611112">stacktrace method #4</a> implementation upon assertion failure.</p>
  
  <p>So if there are no signals triggered, could you suggest a way to detect an assertion failure before the executable exits?</p>