Home
last modified time | relevance | path

Searched refs:DO_THROW (Results 1 – 1 of 1) sorted by relevance

/oneTBB/src/tbb/
H A Dexception.cpp69 #define DO_THROW(exc, init_args) do_throw( []{ throw exc init_args; } ); macro
76 #define DO_THROW(exc, init_args) PRINT_ERROR_AND_ABORT(#exc, #init_args) macro
81 case exception_id::bad_alloc: DO_THROW(std::bad_alloc, ()); break; in throw_exception()
82 case exception_id::bad_last_alloc: DO_THROW(bad_last_alloc, ()); break; in throw_exception()
83 case exception_id::user_abort: DO_THROW( user_abort, () ); break; in throw_exception()
84 …case exception_id::nonpositive_step: DO_THROW(std::invalid_argument, ("Step must be positive") ); … in throw_exception()
87 case exception_id::missing_wait: DO_THROW(missing_wait, ()); break; in throw_exception()
88 …case exception_id::invalid_load_factor: DO_THROW(std::out_of_range, ("Invalid hash load factor"));… in throw_exception()
89 case exception_id::invalid_key: DO_THROW(std::out_of_range, ("invalid key")); break; in throw_exception()
90 …case exception_id::bad_tagged_msg_cast: DO_THROW(std::runtime_error, ("Illegal tagged_msg cast"));… in throw_exception()
[all …]