Allow generators to declare themselves (infinite)

This will be useful later to implement warning on infinitely
running `GENERATE` expressions.
This commit is contained in:
Martin Hořeňovský
2026-02-10 09:37:15 +01:00
parent 0056cd4efb
commit d079ee13ab
31 changed files with 869 additions and 18 deletions
+2
View File
@@ -40,6 +40,8 @@ public:
return true;
}
bool isFinite() const override { return false; }
// Note: this improves the performance only a bit, but it is here
// to show how you can override the skip functionality.
void skipToNthElementImpl( std::size_t n ) override {