MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / operator==

Function operator==

3rd/wildcards/include/cx/tuple.hpp:139–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137
138template <typename... Types1, typename... Types2>
139constexpr bool operator==(const tuple<Types1...>& lhs, const tuple<Types2...>& rhs)
140{
141 static_assert(
142 sizeof...(Types1) == sizeof...(Types2),
143 "Tuples size is not equal in cx::operator==(const cx::tuple<>&, const cx::tuple<>&)");
144
145 return detail::tuples<sizeof...(Types1) -1>::equal(lhs, rhs);
146}
147
148template <>
149constexpr bool operator==(const tuple<>&, const tuple<>&)

Callers

nothing calls this directly

Calls 1

equalFunction · 0.70

Tested by

no test coverage detected