i have a class that has this function:
typedef boost::shared_ptr sp_PrimShapeBase; class Control{ public: //other function
Don't you mean
(*i)->RenderShape(destination);
?
i is the iterator, *i is the shared_ptr, (*i)::operator->() is the object.
i
*i
shared_ptr
(*i)::operator->()