Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CppMicroServices/CppMicroServices
/ compare
Function
compare
framework/include/cppmicroservices/Any.h:90–94 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
88
*/
89
template <typename CmpT, std::enable_if_t<has_op_eq<CmpT>::value, bool> = true>
90
bool
91
compare(CmpT const& lhs, CmpT const& rhs)
92
{
93
return lhs == rhs;
94
}
95
96
/**
97
* When CmpT does not have an operator==, return false.
Callers
1
operator==
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected