We never used boost_foreach before but I can have a look :-) How can you not dereference? You have an iterator over a pointer to an object, you would need ->->?