Nufunello / LRL

Less Routine Library - library provides with zero-cost abstraction solutions for trivial routine
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Incapsulate iterators idea #2

Open Nufunello opened 3 years ago

Nufunello commented 3 years ago

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

Nufunello commented 3 years ago

begin() and end() were done! https://github.com/Nufunello/LRL/pull/1