Iterators in STL have hierachy and more or less strict interface, which obliges to follow rules, which maybe not applicable for some containers(examples need to be provided in future)
To provide flexible abstraction for iterators, we need to incapsulate next things
1) std::begin and std::end
2) std::cbegin and std::cend
3) std::next and std::advance
... - list may increase
Iterators in STL have hierachy and more or less strict interface, which obliges to follow rules, which maybe not applicable for some containers(examples need to be provided in future)
To provide flexible abstraction for iterators, we need to incapsulate next things 1) std::begin and std::end 2) std::cbegin and std::cend 3) std::next and std::advance ... - list may increase