Template Function morpheus::foreach_map

template<typename FuncT, typename SeqT>
auto morpheus::foreach_map(const SeqT &seq, FuncT func)

Apply a function func to a sequence seq and return the results in a new vector.

Parameters:
  • seq

  • func

Returns:

std::vector<return_t>

© Copyright 2023, NVIDIA. Last updated on Aug 23, 2023.