Using `std::apply` to iterate over `std::tuple`
I am trying to call a particular member function in all elements of a tuple using std::apply
. This works when I use a lambda but not when defining a free function.
I am trying to call a particular member function in all elements of a tuple using std::apply
. This works when I use a lambda but not when defining a free function.