#boost #guarantee #zanbil #strong #github-actions #visual-studio #variant2

sys boost_variant2

Boost C++ library boost_variant2 packaged using Zanbil

1 unstable release

Uses new Rust 2024

0.1.0 Aug 29, 2025

#9 in #strong

Download history 37/week @ 2025-09-18 52/week @ 2025-09-25 39/week @ 2025-10-02 26/week @ 2025-10-09 81/week @ 2025-10-16 41/week @ 2025-10-23 24/week @ 2025-10-30 22/week @ 2025-11-06 22/week @ 2025-11-13 25/week @ 2025-11-20 29/week @ 2025-11-27 23/week @ 2025-12-04 17/week @ 2025-12-11 32/week @ 2025-12-18 16/week @ 2025-12-25 22/week @ 2026-01-01

93 downloads per month
Used in 14 crates (3 directly)

BSL-1.0 license

255KB
7K SLoC

C++ 5.5K SLoC // 0.1% comments AsciiDoc 1.5K SLoC // 0.1% comments Batch 20 SLoC Shell 15 SLoC // 0.2% comments Rust 4 SLoC

Boost.Variant2

This repository contains a never-valueless, strong guarantee, C++11/14/17 implementation of std::variant. See the documentation for more information.

The library is part of Boost, starting from release 1.71. It depends on Boost.Mp11, Boost.Config, and Boost.Assert.

Supported compilers:

  • g++ 4.8 or later with -std=c++11 or above
  • clang++ 3.9 or later with -std=c++11 or above
  • Visual Studio 2015 or later

Tested on Github Actions and Appveyor.

Dependencies

~2.5MB
~44K SLoC