metaparse/doc/getting_started_2.qbk
2015-07-19 09:53:35 +02:00

7 lines
241 B
Plaintext

[#getting_started_2]
#include <boost/mpl/plus.hpp>
#include <boost/mpl/at.hpp>
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 > {};