...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::interprocess::error_info
// In header: <boost/interprocess/errors.hpp> struct error_info { // construct/copy/destruct error_info(error_code_t = other_error); error_info(native_error_t); error_info& operator=(error_code_t); error_info& operator=(native_error_t); // public member functions native_error_t get_native_error() const; error_code_t get_error_code() const; };