|
| | ErrorReport (const char *file, const char *function, int line, const char *condition_string) |
| |
| | ~ErrorReport () noexcept(false) |
| | When you're done using << on the object, and let it fall out of scope, this errors out, or throws an exception if they are enabled. More...
|
| |
| | ReportBase (const char *file, const char *function, int line, const char *condition_string, const char *prefix) |
| |
| HALIDE_ALWAYS_INLINE ErrorReport< Exception > & | ref () |
| |
| HALIDE_ALWAYS_INLINE ErrorReport< Exception > & | operator<< (const S &x) |
| |
template<typename Exception>
struct Halide::Internal::ErrorReport< Exception >
Definition at line 158 of file Error.h.
template<typename Exception >
When you're done using << on the object, and let it fall out of scope, this errors out, or throws an exception if they are enabled.
This is a little dangerous because the destructor will also be called if there's an exception in flight due to an error in one of the arguments passed to operator<<. We handle this by only actually throwing if there isn't an exception in flight already.
Definition at line 174 of file Error.h.
References Halide::Internal::throw_error().