Namespaces
Variants
Actions

std::tx_exception

From cppreference.com
< cpp‎ | error
 
 
 
Defined in header <stdexcept>
template< class T >
class tx_exception : public std::runtime_error;
(TM TS)

Defines an exception type that can be used to cancel and roll back an atomic transaction initiated by the keyword atomic_cancel.

If T is not TriviallyCopyable, the program that specializes std::tx_exception<T> is ill-formed.

Contents