Registry / testing / boost-contract

boost-contract

JSON →
library1.90.0vcpkgunverified

Boost contract module

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

Use a contract check

#include <boost/contract.hpp> #include <iostream> int main() { auto c = boost::contract::check([] { std::cout << "Contract check passed" << std::endl; }); return 0; }
Debug
Known issues
gotchaHeader-only; no linking required but may increase compile times
fix
Use precompiled headers or disable contracts in release builds with BOOST_CONTRACT_NO_... macros
affects: *
Upgrade
Version history
1.90.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
OpenAI (training)
1
Resources

No resource links recorded.

boost-contract — pip install boost-contract · libregistry