|
ADOL-C: Automatic Differentiation in C/C++ 2.7.3
|
Run-time error with a message and source location. More...
#include <adolcerror.h>


Public Member Functions | |
| ADOLCError (std::string_view message, const source_location &info) | |
| Constructs an ADOLCError with message and source location. | |
| const source_location & | where () const noexcept |
| Access the captured source location. | |
Static Public Member Functions | |
| static constexpr source_location | makeSourceLocation (std::string_view file, std::string_view func, int line) |
| static std::string | makeMessage (std::string_view message, const source_location &info) |
Run-time error with a message and source location.
what() returns the formatted message; where() returns the location.
|
inline |
Constructs an ADOLCError with message and source location.
| message | Error description (will be stored as std::string) |
| info | Source location |
|
inlinestatic |
|
inlinestaticconstexpr |
|
inlinenoexcept |
Access the captured source location.