
1 Oct
2004
1 Oct
'04
2:37 p.m.
"Gennadiy Rozental" <gennadiy.rozental@thomson.com> 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