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

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Macro BOOST_VARIANT_LIMIT_TYPES

BOOST_VARIANT_LIMIT_TYPES — Expands to the length of the template parameter list for variant. Not used if BOOST_VARIANT_DO_NOT_USE_VARIADIC_TEMPLATES is not defined.

Synopsis

// In header: <boost/variant/variant_fwd.hpp>

BOOST_VARIANT_LIMIT_TYPES

Description

Note: Conforming implementations of variant must allow at least ten template arguments. That is, BOOST_VARIANT_LIMIT_TYPES must be greater or equal to 10.


PrevUpHomeNext