1 #ifndef art_Framework_Core_SharedException_h 2 #define art_Framework_Core_SharedException_h 21 store(std::exception_ptr ex_ptr)
33 store(std::current_exception());
36 template <
typename T,
typename... Args>
40 store(std::make_exception_ptr(
T{std::forward<Args>(
args)...}));
void throw_if_stored_exception()
std::thread::id const ownerThread_
void store(std::exception_ptr ex_ptr)
std::atomic< bool > cachedExceptionStored_
std::exception_ptr cachedException_
void store(Args &&...args)