yfast 0.6.1
Loading...
Searching...
No Matches
yfast::internal::BitExtractorGeneric Concept Reference

Concept definition

template<typename BitExtractor, typename Key>
concept yfast::internal::BitExtractorGeneric = requires (BitExtractor bx, Key key, unsigned int n) {
{ bx.extract_bit(key, n) } -> std::convertible_to<bool>;
{ bx.shift(key, n) } -> std::convertible_to<typename BitExtractor::ShiftResult>;
}
Definition bit_extractor.h:14
Definition concepts.h:18