...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Fusion provides a couple of adapters for other sequences such as arrays, std::pair
,
MPL sequences, and boost::array
.
These adapters are written using Fusion's non-intrusive Extension
mechanism. If you wish to use these sequences with fusion, simply include the
necessary files and they will be regarded as first-class, fully conforming
fusion sequences.
Fusion also provides various schemes to make it easy for the user to adapt various data structures, non-intrusively, as full fledged Fusion sequences.
#include <boost/fusion/adapted.hpp> #include <boost/fusion/include/adapted.hpp>