11 #ifndef __UT_TUPLEUTIL_H_INCLUDED__
12 #define __UT_TUPLEUTIL_H_INCLUDED__
17 #include <type_traits>
21 namespace UT_TupleUtilImpl
23 template <
typename T,
typename F,
size_t I,
size_t N>
27 template <
typename T,
typename F,
size_t N>
37 template <
typename T,
typename F,
size_t I,
size_t N>
42 if (
f(std::get<I>(std::forward<T>(tuple))))
49 template <
typename T,
typename F,
size_t I,
size_t N>
53 template <
typename T,
typename F,
size_t N>
62 template <
typename T,
typename F,
size_t I,
size_t N>
67 f(std::get<I>(std::forward<T>(tuple)));
80 template <
typename T,
typename F>
86 std::forward<T>(tuple), std::forward<F>(
f));
95 template <
typename T,
typename F>
101 std::forward<T>(tuple), std::forward<F>(
f));
104 #endif // __UT_TUPLEUTIL_H_INCLUDED__
bool operator()(T &&tuple, F &&f)
bool UTtupleAnyOf(T &&tuple, F &&f)
void operator()(T &&tuple, F &&f)
bool operator()(T &&tuple, F &&f)
void operator()(T &&tuple, F &&f)
GA_API const UT_StringHolder N
void UTtupleForEach(T &&tuple, F &&f)