User Profile
Collapse
-
Thanks a lot, that solved my problem. -
Template & iterator Problem
Hi all, I have a question about passing iterators to a function. I want to create a function that does something with STL container iterators. The container of the iterator can vary, so I use a template container there. Here is the code:
...Code:template <class Container, class T> void do_sth(typename Container<T>::iterator &start, typename Container<T>::iterator &end, T &elem) { //Some
No activity results to display
Show More
Leave a comment: