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

Method hash

include/covscript/impl/type_ext.hpp:204–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202
203template <typename T>
204cs_impl::operators::result cs_impl::operators::handler<T>::hash(void *lhs, void *rhs)
205{
206 return result::from_uint(cs_impl::hash<T>(*static_cast<const T *>(lhs)));
207}
208
209template <typename T>
210cs_impl::operators::result cs_impl::operators::handler<T>::detach(void *lhs, void *rhs)

Callers 1

hashFunction · 0.45

Calls 1

from_uintFunction · 0.85

Tested by

no test coverage detected