...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This section summarizes significant changes to the Fusion library.
boost::tuple
support. (Joel de Guzman)
boost::variant
support. (Joel de Guzman)
boost::variant
support. After thorough investigation, I think now that the move to make
variant a fusion sequence is rather quirky. A variant will always have
a size==1 regardless of the number of types it can contain and there's
no way to know at compile time what it contains. Iterating over its types
is simply wrong. All these imply that the variant is not
a fusion sequence. (Joel de Guzman)
fold
and accumulate
. (Christopher Schmidt)
BOOST_FUSION_ADAPT_STRUCT_NAMED
and BOOST_FUSION_ADAPT_STRUCT_NAMED_NS
(Hartmut Kaiser)
BOOST_FUSION_ADAPT_TPL_STRUCT
,
BOOST_FUSION_ADAPT_ASSOC_TPL_STRUCT
,
BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED
and BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED_NS
(Christopher Schmidt)
BOOST_FUSION_DEFINE_STRUCT
, BOOST_FUSION_DEFINE_TPL_STRUCT
,
BOOST_FUSION_DEFINE_ASSOC_STRUCT
and BOOST_FUSION_DEFINE_ASSOC_TPL_STRUCT
(Christopher Schmidt)
reverse_fold
, iter_fold
and reverse_iter_fold
(Christopher
Schmidt)
BOOST_FUSION_ADAPT_ADT
, BOOST_FUSION_ADAPT_TPL_ADT
,
BOOST_FUSION_ADAPT_ASSOC_ADT
and BOOST_FUSION_ADAPT_ASSOC_TPL_ADT
(Joel de Guzman, Hartmut Kaiser and Christopher Schmidt)