AimRT/_deps/boost-src/libs/metaparse/doc/getting_started_7.qbk
2025-01-12 20:40:48 +08:00

5 lines
199 B
Plaintext

[#getting_started_7]
template <class Vector> struct sum_vector : boost::mpl::fold< Vector, boost::mpl::int_<0>, boost::mpl::lambda< boost::mpl::plus<boost::mpl::_1, boost::mpl::_2> >::type > {};