MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / Compare

Function Compare

tests/FunctionalCast2Test.cpp:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace details::array_single_compare {
8 template<typename T, size_t N, typename TTo, size_t... I>
9 constexpr bool Compare(const T (&ar)[N], const TTo& to, std::index_sequence<I...>)
10 {
11 return ((to == ar[I]) && ...);
12 }
13} /* namespace details::array_single_compare */
14
15template<typename T, size_t N, typename TTo>

Callers 1

MainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected