XII Release 0.1.0
Loading...
Searching...
No Matches
HasGetKey Concept Reference

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <RadixKeyExtractor.h>

Concept definition

template<typename KeyFunc, typename Element>
concept HasGetKey = requires(const KeyFunc& f, const Element& e) {
{ f.GetKey(e) } -> std::convertible_to<uint64_t>;
}
Copyright (c) Theophilus Eriata. All Rights Reserved.
Definition RadixKeyExtractor.h:7

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

Checks if KeyFunc provides a GetKey(Element) method.