Examveda

What is the purpose of the 'std::exception_ptr::rethrow' function in C++?

A. It rethrows the current exception

B. It creates a new exception

C. It catches an exception

D. It checks for exceptions

Answer: Option A


Join The Discussion

Related Questions on Exception Handling in C plus plus

What is exception handling in C++?

A. A method to handle errors during runtime

B. A method to handle errors during compile time

C. A method to handle errors during linking

D. A method to handle errors during execution