Take a boost::mpl::vector of boost::mpl::int_ and sum the element ele
vmpl_sum_constant<boost::mpl::vector<boost::mpl::int_<2>,boost::mpl::int_<4>,boost::mpl::int<8>>, 5>type is converted into
boost::mpl::vector<int_<7>,int_<9>,int_<13>>
Definition at line 171 of file create_vmpl_sequence.hpp.
#include <create_vmpl_sequence.hpp>
Public Types | |
typedef boost::mpl::vector< typename sum_ele< vars, ele >::type ... > | type |
construct an mpl vector from the variadic | |
typedef boost::mpl::vector<typename sum_ele<vars,ele>::type ...> vmpl_sum_constant< ele, boost::mpl::vector< vars ... > >::type |
construct an mpl vector from the variadic
Definition at line 174 of file create_vmpl_sequence.hpp.