Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up"Custom data source" exemple make no sense #2423
Comments
|
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
|
"Custom data source" form readme exemple make no sense and does not compile (?)
Some (I think are) problems:
MyIterator begin(MyContainer& tgt) { return MyIterator{&tgt}; }does not compile, stop some complaining only ifMyContainer& tgtis const (const MyContainer& tgt) but this make it uselessreference operator*() const {return target.get_current(); }buttargetis a pointer (also null)MyIterator& operator++() {MyContainer.advance(); return *this; }what is supposed to beMyContainer.advance();static? reference? pointer?Tennsy 4 (Arduino)
developbranch single header versionERROR LIST:
Thanks in advance,
Luca