getting_started_2.qbk 241 B

123456
  1. [#getting_started_2]
  2. #include <boost/mpl/plus.hpp>
  3. #include <boost/mpl/at.hpp>
  4. template <class Vector> struct eval_plus : boost::mpl::plus< typename boost::mpl::at_c<Vector, 0>::type, typename boost::mpl::at_c<Vector, 2>::type > {};