Zdravím potřebuji porovnat adresu iterátoru s ukazatelem this.
Mám tento kód:
boost::ptr_vector<baseArray>::const_iterator ars[6];
if(&ars[i]==this)
...
Háže mi to ale chybu:
comparison between distinct pointer types 'boost::void_ptr_iterator<__gnu_cxx::__normal_iterator<void* const*, std::vector<void*, std::allocator<void*> > >, const baseArray> (*)[6]' and 'baseArray*' lacks a cast
TIP: Přetáhni ikonu na hlavní panel pro připnutí webu



Nahlásit jako SPAM
IP: 92.62.229.–
God of flame
Zjistit počet nových příspěvků
































