MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / is_any_of

Function is_any_of

src/backend/common/traits.hpp:73–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72template<typename T, typename U, typename... Args>
73constexpr bool is_any_of() {
74 AF_IF_CONSTEXPR(!sizeof...(Args)) { return std::is_same<T, U>::value; }
75 else { return std::is_same<T, U>::value || is_any_of<T, Args...>(); }
76}
77
78} // namespace

Callers

nothing calls this directly

Calls 1

AF_IF_CONSTEXPRFunction · 0.85

Tested by

no test coverage detected