I have also tried casting an iterator so I could pass casted iterators to the function instead
1 2 3 4 5 6 7 8 9 10
list<PublicShoutOut*>::iterator start, finish;
//set the iterators to the beginning and end of the allPrivateShoutOutsList
start = allPublicShoutOutsList.begin();
finish = allPublicShoutOutsList.end();
list<ShoutOut*>::iterator* convertedIterator;
convertedIterator = dynamic_cast<list<ShoutOut*>::iterator*>(&start);
As far as I can tell it isn't possible to do this. I get
'std::_List_iterator<_Mylist>' is not a polymorphic type