diff --git a/iterator_adaptors.htm b/iterator_adaptors.htm index aa3c42a..9657a9e 100644 --- a/iterator_adaptors.htm +++ b/iterator_adaptors.htm @@ -26,6 +26,37 @@ "../../more/generic_programming.html#adaptors">adaptors which apply specific useful behaviors to arbitrary base iterators. +

Backward Compatibility Note

+ +

The library's interface has changed since it was first released, breaking + backward compatibility: + +

    + +
  1. Policies classes now operate on instances of the + whole iterator_adaptor object, rather than just operating on the + Base object. This change not only gives the policies class access + to both members of a pair of interacting iterators, but also eliminates the + need for the ugly type<Reference> and + type<Difference> parameters to various policy functions. + +
  2. The Named Template Parameter + interface has been made simpler, easier to use, and compatible with more + compilers. + +
+ +

Other Documentation

+ +

``Policy Adaptors and the Boost Iterator + Adaptor Library'' is a technical paper describing this library and the + powerful design pattern on which it is based. It was presented at the C++ Template Workshop at OOPSLA + 2001; the slides from the talk are available here. Please note that while the slides + incorporate the minor interface changes described in the previous section, + the paper does not. +

Table of Contents