1+++ 2title = "`terminate`" 3description = "Policy class defining that `std::terminate()` should be called on incorrect wide value, error or exception observation. Inherits publicly from `base`." 4+++ 5 6Policy class defining that {{% api "std::terminate()" %}} should be called on incorrect wide value, error or exception observation. 7 8Inherits publicly from {{% api "base" %}}, and its narrow value, error and exception observer policies are inherited from there. 9 10Included by `<basic_result.hpp>`, and so is always available when `basic_result` is available. 11 12*Requires*: Nothing. 13 14*Namespace*: `BOOST_OUTCOME_V2_NAMESPACE::policy` 15 16*Header*: `<boost/outcome/policy/terminate.hpp>` 17