Re:Writing a custom iterator in modern C++
by Too on Monday December 21, 2020 @06:00AM
(#25493805)
[] alone doesn't imply that the view is sequential. Binary search for example requires both sequential items and indexed access. You can't binary search an std::map even if it implements [].
[ Parent
| on HN ]
There are no comments on this comment yet.