Boost logo

Boost Users :

From: Duane Murphy (duanemurphy_at_[hidden])
Date: 2002-01-13 23:37:03


--- At Mon, 14 Jan 2002 03:51:13 +0000, dave_abrahams wrote:

>--- 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()"

Thank you. I over looked that one. That's what I was looking for. I'll
change my code accordingly.

 ...Duane


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