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

Checks if KeyFunc can be called with an Element (i.e. provides operator()). More...

#include <RadixKeyExtractor.h>

Concept definition

template<typename KeyFunc, typename Element>
concept CallableKey = requires(const KeyFunc& f, const Element& e) {
{ f(e) } -> std::convertible_to<uint64_t>;
}
Checks if KeyFunc can be called with an Element (i.e. provides operator()).
Definition RadixKeyExtractor.h:13

Detailed Description

Checks if KeyFunc can be called with an Element (i.e. provides operator()).