|
Boost Users : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-05-21 11:12:41
gusz1_at_[hidden] 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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net