Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2004-12-11 10:15:50


"Eelis van der Weegen" <eelis_at_[hidden]> wrote in message
news:cpdcd0$sec$1_at_sea.gmane.org...
| Thanks for your (quick) response. Here's another snippet that fails to
| compile (on MingW-gcc 3.4.2), while it really should:
|
| #include <boost/smart_container/ptr_map.hpp>
|
| struct S { int x; };
|
| void f (boost::ptr_map<int, S>::iterator i)
| {
| (*i).x; // ok
| i->x; // error: operator-> is inaccessible
| }

yes, also an error AFAICT,

Thanks

-Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk