21 May
2004
21 May
'04
4:12 p.m.
gusz1@freemail.hu writes:
Hi, could please somebody tell me why the code below generates a compile-time error? The compiler I'm using is VC++ 7.1.
The item_proxy declared inside your iterator class and the one declared outside and used as its reference type are distinct classes. The one outside is an incomplete type, so no operator= is available. HTH, -- Dave Abrahams Boost Consulting http://www.boost-consulting.com