MCPcopy Create free account
hub / github.com/boost-ext/ut / eq

Method eq

example/matcher.cpp:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 private:
38 template <class T, class U, class... TArgs>
39 static constexpr auto eq(const T& t, const U& u, const TArgs&... args) {
40 using namespace boost::ut;
41 if constexpr (sizeof...(args) > 0) {
42 return (that % detail::value{u} == t) or eq(t, args...);
43 } else {
44 return (that % detail::value{u} == t);
45 }
46 }
47
48 std::tuple<Ts...> ts_;
49};

Callers

nothing calls this directly

Calls 1

eqFunction · 0.85

Tested by

no test coverage detected