Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Adapted

std::pair
mpl sequence
boost::array
boost::tuple
boost::variant

Fusion provides a couple of adapters for other sequences such as 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 [13] .

Header

#include <boost/fusion/adapted.hpp>
#include <boost/fusion/include/adapted.hpp>


[13] Fusion sequences may also be adapted as fully conforming MPL sequences (see Intrinsics). That way, we can have 2-way adaptation to and from MPL and Fusion


PrevUpHomeNext