Functions | |
void | throw_error (std::string_view s, int code) |
void | throw_if_error (std::string_view s, int code) |
void | log_if_error (std::string_view s, int code) |
template<class F > | |
auto | checked (F &&func, std::string_view msg) |
std::shared_ptr< void > | load_lib (const char *so_filename) |
void throw_error | ( | std::string_view | s, |
int | code | ||
) |
void throw_if_error | ( | std::string_view | s, |
int | code | ||
) |
Definition at line 28 of file cutest-loader.cpp.
void log_if_error | ( | std::string_view | s, |
int | code | ||
) |
Definition at line 32 of file cutest-loader.cpp.
auto checked | ( | F && | func, |
std::string_view | msg | ||
) |
std::shared_ptr< void > load_lib | ( | const char * | so_filename | ) |
Definition at line 46 of file cutest-loader.cpp.