.working ======= >>>>>>> .merge-right.r57125
![]() |
Home | Libraries | People | FAQ | More |
This module provides adapters for MPL sequences. Including the module header makes all MPL sequences fully conforming fusion sequences.
<<<<<<< .working#include <boost/fusion/adapted/mpl.hpp> #include <boost/fusion/include/mpl.hpp><<<<<<< .working
mpl::vector_c<int, 123, 456> vec_c; fusion::vector2<int, long> v(vec_c); std::cout << at_c<0>(v) << std::endl; std::cout << at_c<1>(v) << std::endl; v = mpl::vector_c<int, 456, 789>(); std::cout << at_c<0>(v) << std::endl; std::cout << at_c<1>(v) << std::endl;<<<<<<< .working