Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::variant_collection, a closed polymorphic
collection similar in behavior to std::vector<std::variant<...>>.
boost::type_erasure::any
and boost::any (issue #17).
boost::poly_collection::for_each.
std::for_each_n and std::sample.