Boost logo

Boost :

Subject: Re: [boost] Cannot access structure elements using iterator to list containing shared_ptr<struct>
From: prasad (pras.som_at_[hidden])
Date: 2012-06-14 04:57:44

       But I am not able to access the inner details of the struct
> >"packet_holder" using the iterator.
> > it->type.header is not accessible.

Changing this to (*it)->type.header should help

View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at