
1 Oct
2004
1 Oct
'04
5:23 p.m.
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.