Home   Manual   Type Index   Symbol Index   Topics Index

std::try

recover an error object

Parameters

body

the statements to execute

Description

If the execution of body fails then the error-object is returned. If the execution of body succeeds then std::undefined is returned.

body must not return any results.