Type definition exception_ptr

exception_ptr — Transport an arbitrary exception.

Synopsis

typedef boost::shared_ptr<detail::_exp_throwable> exception_ptr;

Description

libpoet uses exception_ptr to transport an exception thrown by a passive function being executed inside a scheduler thread to a future waiting on its result. It is adapted from Peter Dimov's N2179 proposal.