|
Gemmi C++ API
|
fail(), unreachable() and __declspec/__attribute__ macros More...
#include <cerrno>#include <stdexcept>#include <system_error>#include <string>#include <utility>Go to the source code of this file.
Namespaces | |
| namespace | gemmi |
Macros | |
| #define | GEMMI_COLD __attribute__((noinline)) |
| #define | GEMMI_LIKELY(x) (x) |
| #define | GEMMI_UNLIKELY(x) (x) |
| #define | GEMMI_DLL __attribute__((visibility("default"))) |
Functions | |
| void | gemmi::fail (const std::string &msg) |
| template<typename T , typename... Args> | |
| void | gemmi::fail (std::string &&str, T &&arg1, Args &&... args) |
| GEMMI_COLD void | gemmi::fail (const char *msg) |
| GEMMI_COLD void | gemmi::sys_fail (const std::string &msg) |
| GEMMI_COLD void | gemmi::sys_fail (const char *msg) |
| void | gemmi::unreachable () |
fail(), unreachable() and __declspec/__attribute__ macros
Definition in file fail.hpp.