(C++) std::terminate

January 8, 2018 · View on GitHub

 

 

 

 

 

(C++) std::terminate

 

std::terminate is an STL function to terminate a program's execution.

 

 

 

 

 

Advice

 

  • Call std::terminate in case of serious trouble [1]

 

 

 

 

 

 

References

 

  1. Bjarne Stroustrup. The C++ Programming Language (4th edition). 2013. ISBN: 978-0-321-56384-2. Chapter 30.5. Advice. page 883: '[12] Call terminate in case of serious trouble'

 

 

 

 

 

 

Contents

  1. 1Advice
  2. 2References