Hi.
Is it possible to extend VectorIterator so it would be random access? It would be very useful for stl function like std::lower_bound, std::distance so on.
For now I have to implement all that functionality myself with Get function. LookupByKey already uses std::bsearch.
So please tell me what is the reason we don't have random access iterator?
Hi.
Is it possible to extend VectorIterator so it would be random access? It would be very useful for stl function like std::lower_bound, std::distance so on.
For now I have to implement all that functionality myself with Get function. LookupByKey already uses std::bsearch.
So please tell me what is the reason we don't have random access iterator?