MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / ComputeHash

Function ComputeHash

python/common/Hash.hpp:33–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32template<class T, std::enable_if_t<!std::is_enum_v<T> && std::is_default_constructible_v<std::hash<T>>, int> = 0>
33size_t ComputeHash(const T &a)
34{
35 return std::hash<T>{}(a);
36}
37
38template<class T, std::enable_if_t<std::is_enum_v<T>, int> = 0>
39size_t ComputeHash(const T &a)

Callers 1

ComputeHashTupleHelperFunction · 0.70

Calls 2

SizeFunction · 0.85
ComputeHashTupleHelperFunction · 0.85

Tested by

no test coverage detected