Registry / utility / boost-variant2

boost-variant2

JSON →
library1.90.0vcpkgunverified

Boost.Variant2 provides a type-safe discriminated union (variant) with improved performance and safety.

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

Creates a variant holding an integer and prints it.

#include <boost/variant2/variant.hpp> #include <iostream> int main() { boost::variant2::variant<int, double> v = 42; std::cout << v << 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
8 hits · last 30 days
node
6
Meta
1
Amazon
1
Resources

No resource links recorded.

boost-variant2 — pip install boost-variant2 · libregistry