Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-07-25 18:11:43


On Thursday 25 July 2002 06:50 pm, David Abrahams wrote:
> From: "Douglas Gregor" <gregod_at_[hidden]>
>
> > Will the policies() method become part of the public interface of
> > iterator_adaptor at some point?
>
> Just as soon as you send me a doc patch <0.2 wink>

Easy enough.

        Doug

Index: iterator_adaptors.htm
===================================================================
RCS file: /cvsroot/boost/boost/libs/utility/iterator_adaptors.htm,v
retrieving revision 1.56
diff -c -r1.56 iterator_adaptors.htm
*** iterator_adaptors.htm 25 Jul 2002 19:10:05 -0000 1.56
--- iterator_adaptors.htm 25 Jul 2002 23:10:01 -0000
***************
*** 530,535 ****
--- 530,544 ----
           Return a reference to the base object. This is to give the policies
object
           access to the base object. See above for
policies
           iterator_adaptor interaction.[8]
+
+ <tr>
+ <td><tt>const Policies& policies() const;</tt>
+ <br><br>
+ Return a const reference to the policies object.
+
+ <tr> <td><tt>Policies& policies();</tt>
+ <br><br>
+ Return a reference to the policies object.
      </table>

      <h3><a name="example">Example</a></h3>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk