Registry / utility / boost-exception

boost-exception

JSON →
library1.90.0vcpkgunverified

Boost exception module

vcpkg install boost-exception
INSTALL
IMPORT
SIG · BOOST-EXCEPTION
B
boost-exception
utilitycppv1.90.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

boost/exception/all.hpp
#include <boost/exception/all.hpp>

Using Boost.Exception with error info

#include <boost/exception/all.hpp> #include <iostream> #include <stdexcept> typedef boost::error_info<struct tag_errno, int> errno_info; struct my_error : virtual boost::exception, virtual std::exception {}; int main() { try { BOOST_THROW_EXCEPTION(my_error() << errno_info(42)); } catch (const boost::exception& e) { std::cout << "Caught error with errno: " << *boost::get_error_info<errno_info>(e) << std::endl; } return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.90.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Meta
1
Amazon
1
Resources

No resource links recorded.

boost-exception — pip install boost-exception · libregistry