| 458 | template <typename Fn, typename From = internal::call_traits::argument_type<0, Fn>, |
| 459 | typename To = internal::call_traits::return_type<Fn>> |
| 460 | Iterator<To> MakeMapIterator(Fn map, Iterator<From> it) { |
| 461 | return Iterator<To>(MapIterator<Fn, From, To>(std::move(map), std::move(it))); |
| 462 | } |
| 463 | |
| 464 | /// \brief Like MapIterator, but where the function can fail. |
| 465 | template <typename Fn, typename From = internal::call_traits::argument_type<0, Fn>, |
no outgoing calls