MCPcopy Create free account
hub / github.com/Genivia/ugrep / Bitref

Method Bitref

include/reflex/bits.h:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 /// References a single bit, returned by operator[].
99 struct Bitref {
100 Bitref(
101 size_t n, ///< n'th bit
102 uint64_t *p) ///< in this word
103 :
104 m(1ULL << n),
105 p(p)
106 { }
107 uint64_t m; ///< mask m = 2^n
108 uint64_t *p; ///< in this word
109 /// Returns bit value.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected