Created
July 13, 2017 05:52
-
-
Save AlexBolotsin/8f919163d434055339be36a14f2e8312 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyStorage : Storate<float> | |
{ | |
public: | |
... | |
class Iterator { | |
MyIterator(A::SomeClass* ptr) | |
{ | |
... | |
bool operator==(const Iterator& itr)... | |
bool operator!=(const Iterator& itr)... | |
Iterator operator++()... -- post-incr | |
Iterator operator++(int)... -- pre-incr | |
... | |
} | |
}; | |
Iterator begin(); | |
Iterator end(); | |
... | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment