some additional notes
This commit is contained in:
parent
273fd3ebfd
commit
42c215ef70
@ -13,6 +13,7 @@ class SeqCountProvider : public ProvidesSeqCountIF {
|
|||||||
public:
|
public:
|
||||||
[[nodiscard]] unsigned int bitWidth() const override { return sizeof(T) * 8; }
|
[[nodiscard]] unsigned int bitWidth() const override { return sizeof(T) * 8; }
|
||||||
uint64_t get() override { return counter; }
|
uint64_t get() override { return counter; }
|
||||||
|
// I'm also abusing the primitive C variable overflow wrap around here.
|
||||||
void increment() override { counter++; }
|
void increment() override { counter++; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user