dimanche 3 juin 2018

How to iterate through list and queue STLs in C++ without using iterators?

I have a dequeue STL of composite data type (a class), I want to iterate through selected part of dequeue (for example first half of dequeue). Is there any way like advanced for-loop or something which I can use? I want to avoid using iterators.

Aucun commentaire:

Enregistrer un commentaire