
11 Dec
2004
11 Dec
'04
3:15 p.m.
"Eelis van der Weegen" <eelis@eelis.net> wrote in message news:cpdcd0$sec$1@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