|Hi I have the following vector type defined in a class The Class name CStorge
The tcbholder tpye is defined as such
vector <stdecs> strptr;
I would like to define an iterator in a thread for which I pass the obj or class pointer
vector <tcbholder>::iterator tcbitrate = storage_ptr->tcbcollecter.begin();
this is the thread prototype type
UINT DialogStorageThread(CStorge *storage_ptr)
However I get he following complier error
76): error C2440: 'initializing': cannot convert from 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>' to 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>'
IS there any way I can do this ?