We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Custom data source
1 parent 199dea1 commit 16b3d84Copy full SHA for 16b3d84
README.md
@@ -385,7 +385,7 @@ struct MyIterator {
385
using iterator_category = std::input_iterator_tag;
386
387
MyIterator& operator++() {
388
- MyContainer.advance();
+ target->advance();
389
return *this;
390
}
391
@@ -394,7 +394,7 @@ struct MyIterator {
394
395
396
reference operator*() const {
397
- return target.get_current();
+ return target->get_current();
398
399
400
MyContainer* target = nullptr;
0 commit comments