35 static constexpr int buffer_size = 64;
36 void *backtrace_buffer[buffer_size];
38 mutable std::string message;
41 template <
class... Args>
44 backtrace_size = backtrace(backtrace_buffer, buffer_size);
50 const char *what()
const noexcept {
53 if (backtrace_size > 0)
54 backtrace_fill_stacktrace(message, backtrace_buffer, backtrace_size);
55 return message.c_str();
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24