.. Sequences/Classes//list_c |80 list_c ====== Description ----------- ``list_c`` is an |Integral Sequence Wrapper| for |list|. As such, it shares all |list| characteristics and requirements, and differs only in the way the original sequence content is specified. Header ------ +-------------------+-------------------------------------------------------+ | Sequence form | Header | +===================+=======================================================+ | Variadic | ``#include `` | +-------------------+-------------------------------------------------------+ | Numbered | ``#include `` | +-------------------+-------------------------------------------------------+ Model of -------- * |Integral Sequence Wrapper| * |Variadic Sequence| * |Forward Sequence| * |Extensible Sequence| * |Front Extensible Sequence| Expression semantics -------------------- |Semantics disclaimer...| |list|. .. workaround substitution bug (should be replace:: list\ *n*\ _c) .. |listn_c| replace:: list\ *n*\ _c +---------------------------------------+-----------------------------------------------+ | Expression | Semantics | +=======================================+===============================================+ | .. parsed-literal:: | A |list| of integral constant wrappers | | | ``integral_c``, | | list_c | ``integral_c``, ... | | |listn_c| | ``integral_c``; | | | see |Integral Sequence Wrapper|. | +---------------------------------------+-----------------------------------------------+ | .. parsed-literal:: | Identical to ``list``\ *n*\ ``<`` | | | ``integral_c``, | | list_c::type | ``integral_c``, ... | | |listn_c|::type | ``integral_c`` ``>``; | | | see |Integral Sequence Wrapper|. | +---------------------------------------+-----------------------------------------------+ | .. parsed-literal:: | Identical to ``T``; see | | | |Integral Sequence Wrapper|. | | list_c::value_type | | | |listn_c|::value_type | | +---------------------------------------+-----------------------------------------------+ Example ------- .. parsed-literal:: typedef list_c fibonacci; typedef push_front >::type fibonacci2; BOOST_MPL_ASSERT_RELATION( front::type::value, ==, 1 ); See also -------- |Sequences|, |Integral Sequence Wrapper|, |list|, |integral_c|, |vector_c|, |set_c|, |range_c|