Boost.Variant provides a type-safe union for storing one of several types.
vcpkg install boost-variantNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create and print a variant holding a string
Use std::variant if targeting C++17 or later; otherwise consider Boost.Variant2.
No dependency data recorded yet.
No resource links recorded.