Containers Data C++11
Added in 1.31.0

Boost.Variant

Safe, generic, stack-based discriminated union container.

About Boost.Variant

Please check out the library's documentation to learn more.

In Progress Branch

You are viewing the develop version of this library.

The master and develop pages are shown here to provide access to the newest in-development in-progress documentation. See the "Documentation" link on this page.

Other aspects of the page will reflect the previous official version, or not be available until the next release.

Contributors: This Release


Documentation

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.

Join the Boost Developers Mailing List

Get the latest on releases, features, security patches, fixes and all major announcements.

All Contributors