#boost #variant #zanbil #packaged #collection #heterogeneous-container

sys boost_variant

Boost C++ library boost_variant packaged using Zanbil

1 unstable release

Uses new Rust 2024

0.1.0 Aug 29, 2025

#2673 in Data structures

30 downloads per month
Used in 5 crates (2 directly)

BSL-1.0 license

150KB
3.5K SLoC

C++ 3.5K SLoC // 0.1% comments Rust 4 SLoC

Boost.Variant

Boost.Variant, part of collection of the Boost C++ Libraries. It is a safe, generic, stack-based discriminated union container, offering a simple solution for manipulating an object from a heterogeneous set of types in a uniform manner.

Test results

@ Build Tests coverage More info
Develop branch: CI Build status Coverage Status details...
Master branch: CI Build status Coverage Status details...

Latest developer documentation

License

Distributed under the Boost Software License, Version 1.0.

Dependencies

~8MB
~113K SLoC