Forward declares boost::hana::sum.  
More...
| Namespaces | |
| boost::hana | |
| Namespace containing everything in the library. | |
| Variables | |
| constexpr auto | boost::hana::sum = see documentation | 
| Compute the sum of the numbers of a structure.More generally, sumwill take any foldable structure containing objects forming a Monoid and reduce them using the Monoid's binary operation. The initial state for folding is the identity of the Monoid. It is sometimes necessary to specify the Monoid to use; this is possible by usingsum<M>. If no Monoid is specified, the structure will use the Monoid formed by the elements it contains (if it knows it), orintegral_constant_tag<int>otherwise. Hence,.  More... | |
Forward declares boost::hana::sum.