|
Halide 21.0.0
Halide compiler and libraries
|
A base class for Halide errors. More...
#include <Error.h>
Public Member Functions | |
| Error ()=delete | |
| Error (const char *msg) | |
| Error (const std::string &msg) | |
| Error (const Error &) | |
| Error & | operator= (const Error &) |
| Error (Error &&) noexcept | |
| Error & | operator= (Error &&) noexcept |
| virtual | ~Error () |
| virtual const char * | what () const noexcept |
A base class for Halide errors.
Note that this deliberately does not descend from std::runtime_error, or even std::exception; unfortunately, std::runtime_error is not marked as DLLEXPORT on Windows, but Error needs to be marked as such, and mismatching DLLEXPORT annotations in a class inheritance hierarchy in this way can lead to ODR violations. Instead, we just attempt to replicate the API of runtime_error here.
|
delete |
Referenced by Error(), Error(), operator=(), operator=(), and ~Error().
|
explicit |
|
explicit |
|
virtual |
References Error().
|
virtualnoexcept |