| 285 | |
| 286 | template <typename Container> |
| 287 | typename Container::value_type product(Container const& cont) { |
| 288 | return fold1(cont, std::multiplies<typename Container::value_type>()); |
| 289 | } |
| 290 | |
| 291 | template <typename OutContainer, typename InContainer, typename Function> |
| 292 | void transformInto(OutContainer& outContainer, InContainer&& inContainer, Function&& function) { |