Beyond the C++ Standard Library: An Introduction to Boost [Electronic resources]

Bjorn Karlsson

نسخه متنی -صفحه : 124/ 65
نمايش فراداده

How Does Variant Fit with the Standard Library?

Boost.Variant permits storing heterogeneous types in the Standard Library containers. As there is no real support for variant types in C++, or in the C++ Standard Library, this makes Variant an excellent and useful extension to the Standard Library.