Opened 21 years ago
Closed 17 years ago
#931 closed Bugs (Out of Date)
DoIterator adaptor documentation missing
Reported by: | nobody | Owned by: | david_abrahams |
---|---|---|---|
Milestone: | Component: | iterator | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
The documentation for the iterator adaptor library nowhere specifies the complete requirements for the policies class. All it does is give a rough verbal description and an example of one particular policies class. There needs to be full documentation of the Policies concept for this library, similar to the documentation for the STL concepts, e.g., list of expressions that must be valid (and for what types) and their effects. In particular, I cannot tell how general the advance() function must be. Does it need to be a template that accepts arbitrary unsigned integer types? Or can it just accept values of the Distance type? Similar questions arise for equal and less.
Note:
See TracTickets
for help on using tickets.