|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-10-01 09:37:04
"Gennadiy Rozental" <gennadiy.rozental_at_[hidden]> writes:
> class input_iterator_adaptor define like this:
>
> class input_iterator_facade : public iterator_facade<...>
> {
> ...
> private:
> friend class iterator_core_access;
>
> ...
>
> // iterator facade interface implementation
> bool equal( input_iterator_facade const& rhs ) const
> {
> ...
> }
> };
>
> Any recommendations?
Is input_iterator_facade defined in the same namespace as
iterator_core_access? If not, the friend declaration is doing the
wrong thing.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk