Boost logo

Boost Users :

From: dave_abrahams (david.abrahams_at_[hidden])
Date: 2002-01-13 22:51:13


--- In Boost-Users_at_y..., Duane Murphy <duanemurphy_at_m...> wrote:
> There is a comment in iterator_adaptors:
>
> public: // implementation details (too many compilers have trouble
when
> these are private).
> Policies& policies() { return m_iter_p.second(); }
> const Policies& policies() const { return m_iter_p.second(); }
>
> Base& iter() { return m_iter_p.first(); }
> const Base& iter() const { return m_iter_p.first(); }
>
>
> This seems to imply that iter() and policies() ought to be private.

This looks like an old version of the code. In the current release
the function to access the base object is in the public interface and
called "base()", not "iter()"

-dave


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