Registry / utility / boost-outcome

boost-outcome

JSON →
library1.90.0vcpkgunverified

Boost outcome module

vcpkg install boost-outcome
INSTALL
IMPORT
SIG · BOOST-OUTCOME
B
boost-outcome
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/outcome.hpp
#include <boost/outcome.hpp>

Use Boost.Outcome to handle success/failure

#include <boost/outcome.hpp> #include <iostream> int main() { auto result = boost::outcome_v2::result<int>(42); if (result) { std::cout << "Success: " << result.value() << std::endl; } return 0; }
Debug
Known issues
breakingBoost.Outcome v2 is the default; v1 is deprecated.
fix
Use #include <boost/outcome.hpp> which defaults to v2.
affects: >=1.70
Upgrade
Version history
1.90.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

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

No resource links recorded.

boost-outcome — pip install boost-outcome · libregistry