From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2004-10-01 12:23:20


> > 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

input_iterator_facade reside in namespace boost::unit_test.

Note that this test works for many compilers and fails (in this place) only
for subject configuration.

Gennadiy.