MCPcopy Create free account
hub / github.com/covscript/covscript / compare

Method compare

include/covscript/impl/type_ext.hpp:306–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304
305template <typename T>
306cs_impl::operators::result cs_impl::operators::handler<T>::compare(void *lhs, void *rhs)
307{
308 return result::from_int(cs::operators::compare(*static_cast<const T *>(lhs), static_cast<const any *>(rhs)->template unchecked_get<T>()));
309}
310
311template <typename T>
312cs_impl::operators::result cs_impl::operators::handler<T>::abocmp(void *lhs, void *rhs)

Callers 2

parse_equMethod · 0.45
parse_neqMethod · 0.45

Calls 2

from_intFunction · 0.85
compareFunction · 0.70

Tested by

no test coverage detected