Boost logo

Boost :

From: Eelis van der Weegen (eelis_at_[hidden])
Date: 2004-12-10 18:44:47

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


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