missing file

crashfix_debugdraw
florent.teppe 2 years ago
parent 256d8a699a
commit cdc7864863

@ -0,0 +1,15 @@
#ifndef OPENMW_COMPONENTS_MISC_TUPLEHELPER_H
#define OPENMW_COMPONENTS_MISC_TUPLEHELPER_H
#include <tuple>
namespace Misc
{
template <typename TupleType, typename Callable>
void tupleForEach(TupleType& tuple, Callable&& f)
{
std::apply([&f](auto&... x) { (f(x), ...); }, tuple);
}
}
#endif
Loading…
Cancel
Save