例外に似たものをキャプチャーするために、インテル® TBB で使用されるクラス。
class captured_exception;
#include "tbb/tbb_exception.h"
タスクが例外をスローすると、インテル® TBB はその例外を伝える前に captured_exception に変換することがあります。変換条件は、「例外」セクションで説明されています。
namespace tbb {
class captured_exception: public tbb_exception {
captured_exception(const captured_exception& src);
captured_exception(const char* name, const char* info);
~captured_exception() throw();
captured_exception& operator=(const captured_exception&);
captured_exception* move() throw();
void destroy() throw();
void throw_self();
const char* name() const throw();
const char* what() const throw();
};
}
| メンバー | 説明 |
|---|---|
| captured_exception( const char* name, const char* info ) |
指定された name および info で captured_exception を構築します。 |