Return a std::vector whose i-th element is f(get<0>(xs)[i], get<1>(xs)[i], ..., args...).
The tuple xs must contain at least two equal-sized std::vector inputs. Additional trailing arguments are shared across calls. If the inputs are empty, the result is empty. The element type of the result is deduced from f.
- Template Parameters
-
| F | type of functor |
| Tuple | type of tuple of std::vector inputs |
| Args | types of shared arguments |
- Parameters
-
| [in] | f | functor applied to each tuple of elements |
| [in] | xs | tuple of std::vector inputs |
| [in] | args | shared arguments passed to each call |
- Returns
- std::vector of results
- Exceptions
-
| std::invalid_argument | if the inputs have different sizes |
Definition at line 68 of file map.hpp.